[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6917
	Boolean : True

[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6918
	Boolean : True

[General][1401/02/13 05:31: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 343 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6919
	Boolean : True

[General][1401/02/13 05:31: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 187 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6920
	Boolean : True

[General][1401/02/13 05:31: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 187 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6921
	Boolean : True

[General][1401/02/13 05:31: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 234 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6922
	Boolean : True

[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6923
	Boolean : True

[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6924
	Boolean : True

[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10777

[General][1401/02/13 05:31: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 : 10777
	Boolean : True

[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6925
	Boolean : True

[General][1401/02/13 05:31: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 296 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10778

[General][1401/02/13 05:31: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 : 10778
	Boolean : True

[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6926
	Boolean : True

[General][1401/02/13 05:31: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 312 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10521

[General][1401/02/13 05:31: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 : 10521
	Boolean : True

[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6927
	Boolean : True

[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9545

[General][1401/02/13 05:31: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 : 9545
	Boolean : True

[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6928
	Boolean : True

[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9545

[General][1401/02/13 05:31: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 : 9545
	Boolean : True

[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6929
	Boolean : True

[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9545

[General][1401/02/13 05:31: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 : 9545
	Boolean : True

[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6930
	Boolean : True

[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9545

[General][1401/02/13 05:31: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 : 9545
	Boolean : True

[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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 15 ms
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6931
	Boolean : True

[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9545

[General][1401/02/13 05:32: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 : 9545
	Boolean : True

[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6932
	Boolean : True

[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9545

[General][1401/02/13 05:32: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 : 9545
	Boolean : True

[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6933
	Boolean : True

[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9545

[General][1401/02/13 05:32: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 : 9545
	Boolean : True

[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6934
	Boolean : True

[General][1401/02/13 05:32: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 328 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9545

[General][1401/02/13 05:32: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 : 9545
	Boolean : True

[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6935
	Boolean : True

[General][1401/02/13 05:32: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 343 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6936
	Boolean : True

[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6937
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6938
	Boolean : True

[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6939
	Boolean : True

[General][1401/02/13 05:32: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 343 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6940
	Boolean : True

[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6941
	Boolean : True

[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6942
	Boolean : True

[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6943
	Boolean : True

[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6944
	Boolean : True

[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9546

[General][1401/02/13 05:32: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 : 9546
	Boolean : True

[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 6945
	Boolean : True

[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9547

[General][1401/02/13 05:32: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 : 9547
	Boolean : True

[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6946
	Boolean : True

[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9547

[General][1401/02/13 05:32: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 : 9547
	Boolean : True

[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6947
	Boolean : True

[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9547

[General][1401/02/13 05:32: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 : 9547
	Boolean : True

[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6948
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9547

[General][1401/02/13 05:32: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 : 9547
	Boolean : True

[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6949
	Boolean : True

[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9547

[General][1401/02/13 05:32: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 : 9547
	Boolean : True

[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6950
	Boolean : True

[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9547

[General][1401/02/13 05:32: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 : 9547
	Boolean : True

[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6951
	Boolean : True

[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9547

[General][1401/02/13 05:32: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 : 9547
	Boolean : True

[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6952
	Boolean : True

[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9547

[General][1401/02/13 05:32: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 : 9547
	Boolean : True

[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6953
	Boolean : True

[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9548

[General][1401/02/13 05:32: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 : 9548
	Boolean : True

[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6954
	Boolean : True

[General][1401/02/13 05:32: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 328 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9548

[General][1401/02/13 05:32: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 : 9548
	Boolean : True

[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6955
	Boolean : True

[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9548

[General][1401/02/13 05:32: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 : 9548
	Boolean : True

[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6956
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9549

[General][1401/02/13 05:32: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 : 9549
	Boolean : True

[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6957
	Boolean : True

[General][1401/02/13 05:32: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 234 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9549

[General][1401/02/13 05:32: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 : 9549
	Boolean : True

[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6958
	Boolean : True

[General][1401/02/13 05:32: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 374 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9549

[General][1401/02/13 05:32: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 : 9549
	Boolean : True

[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32: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 : 6959
	Boolean : True

[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9549

[General][1401/02/13 05:32: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 : 9549
	Boolean : True

[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32: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 : 6960
	Boolean : True

[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9549

[General][1401/02/13 05:32: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 : 9549
	Boolean : True

[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6961
	Boolean : True

[General][1401/02/13 05:32: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 312 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9549

[General][1401/02/13 05:32: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 : 9549
	Boolean : True

[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 6962
	Boolean : True

[General][1401/02/13 05:32: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 281 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9549

[General][1401/02/13 05:32: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 : 9549
	Boolean : True

[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6963
	Boolean : True

[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32: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 : 6964
	Boolean : True

[General][1401/02/13 05:32: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 203 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32: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 : 6965
	Boolean : True

[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6966
	Boolean : True

[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6967
	Boolean : True

[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6968
	Boolean : True

[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6969
	Boolean : True

[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6970
	Boolean : True

[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32: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 : 6971
	Boolean : True

[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6972
	Boolean : True

[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6973
	Boolean : True

[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6974
	Boolean : True

[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6975
	Boolean : True

[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9550

[General][1401/02/13 05:32: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 : 9550
	Boolean : True

[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6976
	Boolean : True

[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9551

[General][1401/02/13 05:32: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 : 9551
	Boolean : True

[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 6977
	Boolean : True

[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9551

[General][1401/02/13 05:32: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 : 9551
	Boolean : True

[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6978
	Boolean : True

[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9551

[General][1401/02/13 05:32: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 : 9551
	Boolean : True

[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6979
	Boolean : True

[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9551

[General][1401/02/13 05:32: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 : 9551
	Boolean : True

[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6980
	Boolean : True

[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9551

[General][1401/02/13 05:32: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 : 9551
	Boolean : True

[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6981
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10779

[General][1401/02/13 05:32: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 : 10779
	Boolean : True

[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6982
	Boolean : True

[General][1401/02/13 05:32: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 312 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9551

[General][1401/02/13 05:32: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 : 9551
	Boolean : True

[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6983
	Boolean : True

[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9552

[General][1401/02/13 05:32: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 : 9552
	Boolean : True

[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6984
	Boolean : True

[General][1401/02/13 05:32: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 265 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9552

[General][1401/02/13 05:32: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 : 9552
	Boolean : True

[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6985
	Boolean : True

[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9553

[General][1401/02/13 05:32: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 : 9553
	Boolean : True

[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6986
	Boolean : True

[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9553

[General][1401/02/13 05:32: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 : 9553
	Boolean : True

[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6987
	Boolean : True

[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9554

[General][1401/02/13 05:32: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 : 9554
	Boolean : True

[General][1401/02/13 05:32: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 31 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 31 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6988
	Boolean : True

[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9554

[General][1401/02/13 05:32: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 : 9554
	Boolean : True

[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6989
	Boolean : True

[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9554

[General][1401/02/13 05:32: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 : 9554
	Boolean : True

[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6990
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9554

[General][1401/02/13 05:32: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 : 9554
	Boolean : True

[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6991
	Boolean : True

[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9554

[General][1401/02/13 05:32: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 : 9554
	Boolean : True

[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6992
	Boolean : True

[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9554

[General][1401/02/13 05:32: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 : 9554
	Boolean : True

[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6993
	Boolean : True

[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9554

[General][1401/02/13 05:32: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 : 9554
	Boolean : True

[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6994
	Boolean : True

[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9555

[General][1401/02/13 05:32: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 : 9555
	Boolean : True

[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6995
	Boolean : True

[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9555

[General][1401/02/13 05:32: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 : 9555
	Boolean : True

[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6996
	Boolean : True

[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9555

[General][1401/02/13 05:32: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 : 9555
	Boolean : True

[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6997
	Boolean : True

[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9555

[General][1401/02/13 05:32: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 : 9555
	Boolean : True

[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6998
	Boolean : True

[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9555

[General][1401/02/13 05:32: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 : 9555
	Boolean : True

[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 6999
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9555

[General][1401/02/13 05:32: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 : 9555
	Boolean : True

[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7000
	Boolean : True

[General][1401/02/13 05:32: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 203 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9555

[General][1401/02/13 05:32: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 : 9555
	Boolean : True

[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7001
	Boolean : True

[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9555

[General][1401/02/13 05:32: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 : 9555
	Boolean : True

[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7002
	Boolean : True

[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9556

[General][1401/02/13 05:32: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 : 9556
	Boolean : True

[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7003
	Boolean : True

[General][1401/02/13 05:32: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 328 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9556

[General][1401/02/13 05:32: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 : 9556
	Boolean : True

[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7004
	Boolean : True

[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9556

[General][1401/02/13 05:32: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 : 9556
	Boolean : True

[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7005
	Boolean : True

[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9556

[General][1401/02/13 05:32: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 : 9556
	Boolean : True

[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7006
	Boolean : True

[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9556

[General][1401/02/13 05:32: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 : 9556
	Boolean : True

[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7007
	Boolean : True

[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9556

[General][1401/02/13 05:32: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 : 9556
	Boolean : True

[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32: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 : 7008
	Boolean : True

[General][1401/02/13 05:32: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 218 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9556

[General][1401/02/13 05:32: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 : 9556
	Boolean : True

[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7009
	Boolean : True

[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9556

[General][1401/02/13 05:32: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 : 9556
	Boolean : True

[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7010
	Boolean : True

[General][1401/02/13 05:32: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 218 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9557

[General][1401/02/13 05:32: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 : 9557
	Boolean : True

[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7011
	Boolean : True

[General][1401/02/13 05:32: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 218 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9557

[General][1401/02/13 05:32: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 : 9557
	Boolean : True

[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7012
	Boolean : True

[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9557

[General][1401/02/13 05:32: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 : 9557
	Boolean : True

[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7013
	Boolean : True

[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9557

[General][1401/02/13 05:32: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 : 9557
	Boolean : True

[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7014
	Boolean : True

[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9557

[General][1401/02/13 05:32: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 : 9557
	Boolean : True

[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7015
	Boolean : True

[General][1401/02/13 05:32: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 281 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9557

[General][1401/02/13 05:32: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 : 9557
	Boolean : True

[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7016
	Boolean : True

[General][1401/02/13 05:32: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 343 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9558

[General][1401/02/13 05:32: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 : 9558
	Boolean : True

[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 16 ms
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7017
	Boolean : True

[General][1401/02/13 05:32: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 343 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9558

[General][1401/02/13 05:32: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 : 9558
	Boolean : True

[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7018
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9558

[General][1401/02/13 05:32: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 : 9558
	Boolean : True

[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7019
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9558

[General][1401/02/13 05:32: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 : 9558
	Boolean : True

[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7020
	Boolean : True

[General][1401/02/13 05:32: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 374 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9558

[General][1401/02/13 05:32: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 : 9558
	Boolean : True

[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7021
	Boolean : True

[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9558

[General][1401/02/13 05:32: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 : 9558
	Boolean : True

[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7022
	Boolean : True

[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9558

[General][1401/02/13 05:32: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 : 9558
	Boolean : True

[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7023
	Boolean : True

[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9558

[General][1401/02/13 05:32: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 : 9558
	Boolean : True

[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7024
	Boolean : True

[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9559

[General][1401/02/13 05:32: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 : 9559
	Boolean : True

[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7025
	Boolean : True

[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9559

[General][1401/02/13 05:32: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 : 9559
	Boolean : True

[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7026
	Boolean : True

[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9559

[General][1401/02/13 05:32: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 : 9559
	Boolean : True

[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7027
	Boolean : True

[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9559

[General][1401/02/13 05:32: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 : 9559
	Boolean : True

[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32: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 : 7028
	Boolean : True

[General][1401/02/13 05:32: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 203 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32: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 : 7029
	Boolean : True

[General][1401/02/13 05:32: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 203 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7030
	Boolean : True

[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7031
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7032
	Boolean : True

[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7033
	Boolean : True

[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 14 ms
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7034
	Boolean : True

[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7035
	Boolean : True

[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7036
	Boolean : True

[General][1401/02/13 05:32: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 265 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7037
	Boolean : True

[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7038
	Boolean : True

[General][1401/02/13 05:32: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 328 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7039
	Boolean : True

[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7040
	Boolean : True

[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7041
	Boolean : True

[General][1401/02/13 05:32: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 265 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9560

[General][1401/02/13 05:32: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 : 9560
	Boolean : True

[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7042
	Boolean : True

[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9561

[General][1401/02/13 05:32: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 : 9561
	Boolean : True

[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7043
	Boolean : True

[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9561

[General][1401/02/13 05:32: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 : 9561
	Boolean : True

[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7044
	Boolean : True

[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9561

[General][1401/02/13 05:32: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 : 9561
	Boolean : True

[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7045
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9561

[General][1401/02/13 05:32: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 : 9561
	Boolean : True

[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7046
	Boolean : True

[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7047
	Boolean : True

[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7048
	Boolean : True

[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7049
	Boolean : True

[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7050
	Boolean : True

[General][1401/02/13 05:32: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 203 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7051
	Boolean : True

[General][1401/02/13 05:32: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 328 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7052
	Boolean : True

[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7053
	Boolean : True

[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7054
	Boolean : True

[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 16 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7055
	Boolean : True

[General][1401/02/13 05:32: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 343 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7056
	Boolean : True

[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7057
	Boolean : True

[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9564

[General][1401/02/13 05:32: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 : 9564
	Boolean : True

[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7058
	Boolean : True

[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9562

[General][1401/02/13 05:32: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 : 9562
	Boolean : True

[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7059
	Boolean : True

[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9563

[General][1401/02/13 05:32: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 : 9563
	Boolean : True

[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7060
	Boolean : True

[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9564

[General][1401/02/13 05:32: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 : 9564
	Boolean : True

[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7061
	Boolean : True

[General][1401/02/13 05:32: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 296 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9563

[General][1401/02/13 05:32: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 : 9563
	Boolean : True

[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7062
	Boolean : True

[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9563

[General][1401/02/13 05:32: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 : 9563
	Boolean : True

[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7063
	Boolean : True

[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9563

[General][1401/02/13 05:32: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 : 9563
	Boolean : True

[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7064
	Boolean : True

[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9563

[General][1401/02/13 05:32: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 : 9563
	Boolean : True

[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7065
	Boolean : True

[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9563

[General][1401/02/13 05:32: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 : 9563
	Boolean : True

[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7066
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9564

[General][1401/02/13 05:32: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 : 9564
	Boolean : True

[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7067
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9567

[General][1401/02/13 05:32: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 : 9567
	Boolean : True

[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 8361
	Boolean : True

[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10526

[General][1401/02/13 05:32: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 : 10526
	Boolean : True

[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 8362
	Boolean : True

[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10527

[General][1401/02/13 05:32: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 : 10527
	Boolean : True

[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7068
	Boolean : True

[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10780

[General][1401/02/13 05:32: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 : 10780
	Boolean : True

[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7069
	Boolean : True

[General][1401/02/13 05:32: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 328 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10545

[General][1401/02/13 05:32: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 : 10545
	Boolean : True

[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7070
	Boolean : True

[General][1401/02/13 05:32: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 312 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10522

[General][1401/02/13 05:32: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 : 10522
	Boolean : True

[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7071
	Boolean : True

[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9566

[General][1401/02/13 05:32: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 : 9566
	Boolean : True

[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7072
	Boolean : True

[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9566

[General][1401/02/13 05:32: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 : 9566
	Boolean : True

[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7073
	Boolean : True

[General][1401/02/13 05:32: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 406 ms
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9566

[General][1401/02/13 05:32: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 : 9566
	Boolean : True

[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7074
	Boolean : True

[General][1401/02/13 05:32: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 281 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9566

[General][1401/02/13 05:32: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 : 9566
	Boolean : True

[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7075
	Boolean : True

[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9566

[General][1401/02/13 05:32: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 : 9566
	Boolean : True

[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7076
	Boolean : True

[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9566

[General][1401/02/13 05:32: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 : 9566
	Boolean : True

[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7077
	Boolean : True

[General][1401/02/13 05:32: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 328 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9566

[General][1401/02/13 05:32: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 : 9566
	Boolean : True

[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7078
	Boolean : True

[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9566

[General][1401/02/13 05:32: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 : 9566
	Boolean : True

[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7079
	Boolean : True

[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9567

[General][1401/02/13 05:32: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 : 9567
	Boolean : True

[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7080
	Boolean : True

[General][1401/02/13 05:32: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 374 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9567

[General][1401/02/13 05:32: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 : 9567
	Boolean : True

[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7081
	Boolean : True

[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9567

[General][1401/02/13 05:32: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 : 9567
	Boolean : True

[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7082
	Boolean : True

[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9567

[General][1401/02/13 05:32: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 : 9567
	Boolean : True

[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7083
	Boolean : True

[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9567

[General][1401/02/13 05:32: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 : 9567
	Boolean : True

[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7084
	Boolean : True

[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9576

[General][1401/02/13 05:32: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 : 9576
	Boolean : True

[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7085
	Boolean : True

[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9568

[General][1401/02/13 05:32: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 : 9568
	Boolean : True

[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7086
	Boolean : True

[General][1401/02/13 05:32: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 343 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9568

[General][1401/02/13 05:32: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 : 9568
	Boolean : True

[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7087
	Boolean : True

[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9568

[General][1401/02/13 05:32: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 : 9568
	Boolean : True

[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7088
	Boolean : True

[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9568

[General][1401/02/13 05:32: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 : 9568
	Boolean : True

[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7089
	Boolean : True

[General][1401/02/13 05:32: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 234 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9568

[General][1401/02/13 05:32: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 : 9568
	Boolean : True

[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7090
	Boolean : True

[General][1401/02/13 05:32: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 234 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9568

[General][1401/02/13 05:32: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 : 9568
	Boolean : True

[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7091
	Boolean : True

[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9568

[General][1401/02/13 05:32: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 : 9568
	Boolean : True

[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7092
	Boolean : True

[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10781

[General][1401/02/13 05:32: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 : 10781
	Boolean : True

[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7093
	Boolean : True

[General][1401/02/13 05:32: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 359 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10782

[General][1401/02/13 05:32: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 : 10782
	Boolean : True

[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7094
	Boolean : True

[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10783

[General][1401/02/13 05:32: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 : 10783
	Boolean : True

[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7095
	Boolean : True

[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10784

[General][1401/02/13 05:32: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 : 10784
	Boolean : True

[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7096
	Boolean : True

[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10785

[General][1401/02/13 05:32: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 : 10785
	Boolean : True

[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7097
	Boolean : True

[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10786

[General][1401/02/13 05:32: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 : 10786
	Boolean : True

[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7098
	Boolean : True

[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10031

[General][1401/02/13 05:32: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 : 10031
	Boolean : True

[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7099
	Boolean : True

[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10032

[General][1401/02/13 05:32: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 : 10032
	Boolean : True

[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7100
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10787

[General][1401/02/13 05:32: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 : 10787
	Boolean : True

[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7101
	Boolean : True

[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10788

[General][1401/02/13 05:32: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 : 10788
	Boolean : True

[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7102
	Boolean : True

[General][1401/02/13 05:32: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 359 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9570

[General][1401/02/13 05:32: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 : 9570
	Boolean : True

[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7103
	Boolean : True

[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9570

[General][1401/02/13 05:32: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 : 9570
	Boolean : True

[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7104
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9570

[General][1401/02/13 05:32: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 : 9570
	Boolean : True

[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7105
	Boolean : True

[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9570

[General][1401/02/13 05:32: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 : 9570
	Boolean : True

[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7106
	Boolean : True

[General][1401/02/13 05:32: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 375 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9570

[General][1401/02/13 05:32: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 : 9570
	Boolean : True

[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7107
	Boolean : True

[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9580

[General][1401/02/13 05:32: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 : 9580
	Boolean : True

[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7108
	Boolean : True

[General][1401/02/13 05:32: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 328 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9580

[General][1401/02/13 05:32: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 : 9580
	Boolean : True

[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7109
	Boolean : True

[General][1401/02/13 05:32: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 343 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9580

[General][1401/02/13 05:32: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 : 9580
	Boolean : True

[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7110
	Boolean : True

[General][1401/02/13 05:32: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 234 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9571

[General][1401/02/13 05:32: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 : 9571
	Boolean : True

[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7111
	Boolean : True

[General][1401/02/13 05:32: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 265 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9571

[General][1401/02/13 05:32: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 : 9571
	Boolean : True

[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7112
	Boolean : True

[General][1401/02/13 05:32: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 359 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9571

[General][1401/02/13 05:32: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 : 9571
	Boolean : True

[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7113
	Boolean : True

[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9571

[General][1401/02/13 05:32: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 : 9571
	Boolean : True

[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7114
	Boolean : True

[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9572

[General][1401/02/13 05:32: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 : 9572
	Boolean : True

[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7115
	Boolean : True

[General][1401/02/13 05:32: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 234 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9572

[General][1401/02/13 05:32: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 : 9572
	Boolean : True

[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7116
	Boolean : True

[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9572

[General][1401/02/13 05:32: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 : 9572
	Boolean : True

[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7117
	Boolean : True

[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9572

[General][1401/02/13 05:32: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 : 9572
	Boolean : True

[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7118
	Boolean : True

[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9572

[General][1401/02/13 05:32: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 : 9572
	Boolean : True

[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7119
	Boolean : True

[General][1401/02/13 05:32: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 281 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9572

[General][1401/02/13 05:32: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 : 9572
	Boolean : True

[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7120
	Boolean : True

[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9572

[General][1401/02/13 05:32: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 : 9572
	Boolean : True

[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7121
	Boolean : True

[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9572

[General][1401/02/13 05:32: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 : 9572
	Boolean : True

[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 46 ms
[General][1401/02/13 05:32: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 : 7122
	Boolean : True

[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9572

[General][1401/02/13 05:32: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 : 9572
	Boolean : True

[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7123
	Boolean : True

[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9573

[General][1401/02/13 05:32: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 : 9573
	Boolean : True

[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7124
	Boolean : True

[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9573

[General][1401/02/13 05:32: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 : 9573
	Boolean : True

[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7125
	Boolean : True

[General][1401/02/13 05:32: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 234 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9573

[General][1401/02/13 05:32: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 : 9573
	Boolean : True

[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7126
	Boolean : True

[General][1401/02/13 05:32: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 249 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9573

[General][1401/02/13 05:32: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 : 9573
	Boolean : True

[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7127
	Boolean : True

[General][1401/02/13 05:32: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 234 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9573

[General][1401/02/13 05:32: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 : 9573
	Boolean : True

[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7128
	Boolean : True

[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9578

[General][1401/02/13 05:32: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 : 9578
	Boolean : True

[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:32: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:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7129
	Boolean : True

[General][1401/02/13 05:32: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 359 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9573

[General][1401/02/13 05:32: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 : 9573
	Boolean : True

[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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 15 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7130
	Boolean : True

[General][1401/02/13 05:32: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 281 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9573

[General][1401/02/13 05:32: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 : 9573
	Boolean : True

[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 15 ms
[General][1401/02/13 05:32: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 : 7131
	Boolean : True

[General][1401/02/13 05:32: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 187 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9581

[General][1401/02/13 05:32: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 : 9581
	Boolean : True

[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7132
	Boolean : True

[General][1401/02/13 05:32: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 187 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9573

[General][1401/02/13 05:32: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 : 9573
	Boolean : True

[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 16 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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 16 ms
[General][1401/02/13 05:32: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 : 7133
	Boolean : True

[General][1401/02/13 05:32: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 203 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:32: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 : 9574
	Boolean : True

[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7134
	Boolean : True

[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:32: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 : 9574
	Boolean : True

[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:32: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:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:32: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:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:32: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:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:32:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:32: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:32: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 : 7135
	Boolean : True

[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7136
	Boolean : True

[General][1401/02/13 05:33: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 296 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7137
	Boolean : True

[General][1401/02/13 05:33: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 312 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7138
	Boolean : True

[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9575

[General][1401/02/13 05:33: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 : 9575
	Boolean : True

[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7139
	Boolean : True

[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7140
	Boolean : True

[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7141
	Boolean : True

[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7142
	Boolean : True

[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7143
	Boolean : True

[General][1401/02/13 05:33: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 343 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7144
	Boolean : True

[General][1401/02/13 05:33: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 343 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7145
	Boolean : True

[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 46 ms
[General][1401/02/13 05:33: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 : 7146
	Boolean : True

[General][1401/02/13 05:33: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 249 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7147
	Boolean : True

[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9574

[General][1401/02/13 05:33: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 : 9574
	Boolean : True

[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7148
	Boolean : True

[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9577

[General][1401/02/13 05:33: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 : 9577
	Boolean : True

[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7149
	Boolean : True

[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9575

[General][1401/02/13 05:33: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 : 9575
	Boolean : True

[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7150
	Boolean : True

[General][1401/02/13 05:33: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 359 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9575

[General][1401/02/13 05:33: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 : 9575
	Boolean : True

[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7151
	Boolean : True

[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9575

[General][1401/02/13 05:33: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 : 9575
	Boolean : True

[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7152
	Boolean : True

[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9575

[General][1401/02/13 05:33: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 : 9575
	Boolean : True

[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7153
	Boolean : True

[General][1401/02/13 05:33: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 203 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9575

[General][1401/02/13 05:33: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 : 9575
	Boolean : True

[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7154
	Boolean : True

[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9575

[General][1401/02/13 05:33: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 : 9575
	Boolean : True

[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7155
	Boolean : True

[General][1401/02/13 05:33: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 265 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9575

[General][1401/02/13 05:33: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 : 9575
	Boolean : True

[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7156
	Boolean : True

[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9575

[General][1401/02/13 05:33: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 : 9575
	Boolean : True

[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7157
	Boolean : True

[General][1401/02/13 05:33: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 359 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9576

[General][1401/02/13 05:33: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 : 9576
	Boolean : True

[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7158
	Boolean : True

[General][1401/02/13 05:33: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 249 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9576

[General][1401/02/13 05:33: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 : 9576
	Boolean : True

[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7159
	Boolean : True

[General][1401/02/13 05:33: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 249 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9576

[General][1401/02/13 05:33: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 : 9576
	Boolean : True

[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7160
	Boolean : True

[General][1401/02/13 05:33: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 343 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9576

[General][1401/02/13 05:33: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 : 9576
	Boolean : True

[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7161
	Boolean : True

[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9578

[General][1401/02/13 05:33: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 : 9578
	Boolean : True

[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7162
	Boolean : True

[General][1401/02/13 05:33: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 249 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9577

[General][1401/02/13 05:33: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 : 9577
	Boolean : True

[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7163
	Boolean : True

[General][1401/02/13 05:33: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 265 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9577

[General][1401/02/13 05:33: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 : 9577
	Boolean : True

[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7164
	Boolean : True

[General][1401/02/13 05:33: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 374 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9577

[General][1401/02/13 05:33: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 : 9577
	Boolean : True

[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7165
	Boolean : True

[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9578

[General][1401/02/13 05:33: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 : 9578
	Boolean : True

[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7166
	Boolean : True

[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9578

[General][1401/02/13 05:33: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 : 9578
	Boolean : True

[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7167
	Boolean : True

[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9578

[General][1401/02/13 05:33: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 : 9578
	Boolean : True

[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7168
	Boolean : True

[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9578

[General][1401/02/13 05:33: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 : 9578
	Boolean : True

[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7169
	Boolean : True

[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9578

[General][1401/02/13 05:33: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 : 9578
	Boolean : True

[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7170
	Boolean : True

[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9578

[General][1401/02/13 05:33: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 : 9578
	Boolean : True

[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7171
	Boolean : True

[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9578

[General][1401/02/13 05:33: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 : 9578
	Boolean : True

[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7172
	Boolean : True

[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9579

[General][1401/02/13 05:33: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 : 9579
	Boolean : True

[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7173
	Boolean : True

[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9579

[General][1401/02/13 05:33: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 : 9579
	Boolean : True

[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7174
	Boolean : True

[General][1401/02/13 05:33: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 312 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9579

[General][1401/02/13 05:33: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 : 9579
	Boolean : True

[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7175
	Boolean : True

[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9579

[General][1401/02/13 05:33: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 : 9579
	Boolean : True

[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7176
	Boolean : True

[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9579

[General][1401/02/13 05:33: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 : 9579
	Boolean : True

[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7177
	Boolean : True

[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9579

[General][1401/02/13 05:33: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 : 9579
	Boolean : True

[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7178
	Boolean : True

[General][1401/02/13 05:33: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 312 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9576

[General][1401/02/13 05:33: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 : 9576
	Boolean : True

[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7179
	Boolean : True

[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9579

[General][1401/02/13 05:33: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 : 9579
	Boolean : True

[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7180
	Boolean : True

[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9580

[General][1401/02/13 05:33: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 : 9580
	Boolean : True

[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7181
	Boolean : True

[General][5/3/2022 5:33:13 PM]: [SEPIDAR-SRV][5.6.1] Begin: SG.General.BackupManagement.Common.IAutomaticBackupConfigBusiness.BackupDataBaseAutomaticlly
Arguments:
	Boolean : False

[General][5/3/2022 5:33:13 PM]: [SEPIDAR-SRV][5.6.1] End: SG.General.BackupManagement.Common.IAutomaticBackupConfigBusiness.BackupDataBaseAutomaticlly 62 ms
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9580

[General][1401/02/13 05:33: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 : 9580
	Boolean : True

[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7182
	Boolean : True

[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9580

[General][1401/02/13 05:33: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 : 9580
	Boolean : True

[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7183
	Boolean : True

[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9581

[General][1401/02/13 05:33: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 : 9581
	Boolean : True

[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7184
	Boolean : True

[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9581

[General][1401/02/13 05:33: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 : 9581
	Boolean : True

[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7185
	Boolean : True

[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9581

[General][1401/02/13 05:33: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 : 9581
	Boolean : True

[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7186
	Boolean : True

[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9581

[General][1401/02/13 05:33: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 : 9581
	Boolean : True

[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7187
	Boolean : True

[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9582

[General][1401/02/13 05:33: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 : 9582
	Boolean : True

[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7188
	Boolean : True

[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9582

[General][1401/02/13 05:33: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 : 9582
	Boolean : True

[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7189
	Boolean : True

[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9582

[General][1401/02/13 05:33: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 : 9582
	Boolean : True

[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7190
	Boolean : True

[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10789

[General][1401/02/13 05:33: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 : 10789
	Boolean : True

[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 15 ms
[General][1401/02/13 05:33: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 : 7191
	Boolean : True

[General][1401/02/13 05:33: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 359 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10546

[General][1401/02/13 05:33: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 : 10546
	Boolean : True

[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 15 ms
[General][1401/02/13 05:33: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 : 7192
	Boolean : True

[General][1401/02/13 05:33: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 203 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10790

[General][1401/02/13 05:33: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 : 10790
	Boolean : True

[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 15 ms
[General][1401/02/13 05:33: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 : 7193
	Boolean : True

[General][1401/02/13 05:33: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 203 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10791

[General][1401/02/13 05:33: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 : 10791
	Boolean : True

[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 15 ms
[General][1401/02/13 05:33: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 : 7194
	Boolean : True

[General][1401/02/13 05:33: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 203 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10792

[General][1401/02/13 05:33: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 : 10792
	Boolean : True

[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7195
	Boolean : True

[General][1401/02/13 05:33: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 203 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10793

[General][1401/02/13 05:33: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 : 10793
	Boolean : True

[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7196
	Boolean : True

[General][1401/02/13 05:33: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 187 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10794

[General][1401/02/13 05:33: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 : 10794
	Boolean : True

[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 15 ms
[General][1401/02/13 05:33: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 : 7197
	Boolean : True

[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10795

[General][1401/02/13 05:33: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 : 10795
	Boolean : True

[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7198
	Boolean : True

[General][1401/02/13 05:33: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 249 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10796

[General][1401/02/13 05:33: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 : 10796
	Boolean : True

[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7199
	Boolean : True

[General][1401/02/13 05:33: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 296 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9585

[General][1401/02/13 05:33: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 : 9585
	Boolean : True

[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 46 ms
[General][1401/02/13 05:33: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 : 7200
	Boolean : True

[General][1401/02/13 05:33: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 328 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9584

[General][1401/02/13 05:33: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 : 9584
	Boolean : True

[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7201
	Boolean : True

[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9584

[General][1401/02/13 05:33: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 : 9584
	Boolean : True

[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7202
	Boolean : True

[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9585

[General][1401/02/13 05:33: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 : 9585
	Boolean : True

[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7203
	Boolean : True

[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9584

[General][1401/02/13 05:33: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 : 9584
	Boolean : True

[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7204
	Boolean : True

[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9584

[General][1401/02/13 05:33: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 : 9584
	Boolean : True

[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7205
	Boolean : True

[General][1401/02/13 05:33: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 343 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9584

[General][1401/02/13 05:33: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 : 9584
	Boolean : True

[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 46 ms
[General][1401/02/13 05:33: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 : 7206
	Boolean : True

[General][1401/02/13 05:33: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 328 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9584

[General][1401/02/13 05:33: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 : 9584
	Boolean : True

[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7207
	Boolean : True

[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9584

[General][1401/02/13 05:33: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 : 9584
	Boolean : True

[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7208
	Boolean : True

[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10797

[General][1401/02/13 05:33: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 : 10797
	Boolean : True

[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7209
	Boolean : True

[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9584

[General][1401/02/13 05:33: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 : 9584
	Boolean : True

[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7210
	Boolean : True

[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9584

[General][1401/02/13 05:33: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 : 9584
	Boolean : True

[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7211
	Boolean : True

[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7212
	Boolean : True

[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9585

[General][1401/02/13 05:33: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 : 9585
	Boolean : True

[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7213
	Boolean : True

[General][1401/02/13 05:33: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 218 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9585

[General][1401/02/13 05:33: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 : 9585
	Boolean : True

[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7214
	Boolean : True

[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10798

[General][1401/02/13 05:33: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 : 10798
	Boolean : True

[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7215
	Boolean : True

[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10799

[General][1401/02/13 05:33: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 : 10799
	Boolean : True

[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7216
	Boolean : True

[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10800

[General][1401/02/13 05:33: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 : 10800
	Boolean : True

[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7217
	Boolean : True

[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10547

[General][1401/02/13 05:33: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 : 10547
	Boolean : True

[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7218
	Boolean : True

[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10801

[General][1401/02/13 05:33: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 : 10801
	Boolean : True

[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7219
	Boolean : True

[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9591

[General][1401/02/13 05:33: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 : 9591
	Boolean : True

[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7220
	Boolean : True

[General][1401/02/13 05:33: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 281 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10802

[General][1401/02/13 05:33: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 : 10802
	Boolean : True

[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 46 ms
[General][1401/02/13 05:33: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 : 7221
	Boolean : True

[General][1401/02/13 05:33: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 249 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10338

[General][1401/02/13 05:33: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 : 10338
	Boolean : True

[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7222
	Boolean : True

[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 15 ms
[General][1401/02/13 05:33: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 : 7223
	Boolean : True

[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7224
	Boolean : True

[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7225
	Boolean : True

[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7226
	Boolean : True

[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7227
	Boolean : True

[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7228
	Boolean : True

[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7229
	Boolean : True

[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7230
	Boolean : True

[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9587

[General][1401/02/13 05:33: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 : 9587
	Boolean : True

[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7231
	Boolean : True

[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9591

[General][1401/02/13 05:33: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 : 9591
	Boolean : True

[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7232
	Boolean : True

[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9588

[General][1401/02/13 05:33: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 : 9588
	Boolean : True

[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7233
	Boolean : True

[General][1401/02/13 05:33: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 249 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9588

[General][1401/02/13 05:33: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 : 9588
	Boolean : True

[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7234
	Boolean : True

[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9588

[General][1401/02/13 05:33: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 : 9588
	Boolean : True

[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7235
	Boolean : True

[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9588

[General][1401/02/13 05:33: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 : 9588
	Boolean : True

[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7236
	Boolean : True

[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10803

[General][1401/02/13 05:33: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 : 10803
	Boolean : True

[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7237
	Boolean : True

[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10804

[General][1401/02/13 05:33: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 : 10804
	Boolean : True

[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7238
	Boolean : True

[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10805

[General][1401/02/13 05:33: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 : 10805
	Boolean : True

[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 15 ms
[General][1401/02/13 05:33: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 : 7239
	Boolean : True

[General][1401/02/13 05:33: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 187 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10806

[General][1401/02/13 05:33: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 : 10806
	Boolean : True

[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 15 ms
[General][1401/02/13 05:33: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 : 7240
	Boolean : True

[General][1401/02/13 05:33: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 187 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10807

[General][1401/02/13 05:33: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 : 10807
	Boolean : True

[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 15 ms
[General][1401/02/13 05:33: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 : 7241
	Boolean : True

[General][1401/02/13 05:33: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 187 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10808

[General][1401/02/13 05:33: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 : 10808
	Boolean : True

[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7242
	Boolean : True

[General][1401/02/13 05:33: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 343 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10809

[General][1401/02/13 05:33: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 : 10809
	Boolean : True

[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7243
	Boolean : True

[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10810

[General][1401/02/13 05:33: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 : 10810
	Boolean : True

[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7244
	Boolean : True

[General][1401/02/13 05:33: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 359 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10811

[General][1401/02/13 05:33: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 : 10811
	Boolean : True

[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7245
	Boolean : True

[General][1401/02/13 05:33: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 296 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10812

[General][1401/02/13 05:33: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 : 10812
	Boolean : True

[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7246
	Boolean : True

[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10813

[General][1401/02/13 05:33: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 : 10813
	Boolean : True

[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7247
	Boolean : True

[General][1401/02/13 05:33: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 359 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10814

[General][1401/02/13 05:33: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 : 10814
	Boolean : True

[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7248
	Boolean : True

[General][1401/02/13 05:33: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 249 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10815

[General][1401/02/13 05:33: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 : 10815
	Boolean : True

[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7249
	Boolean : True

[General][1401/02/13 05:33: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 312 ms
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10816

[General][1401/02/13 05:33: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 : 10816
	Boolean : True

[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 31 ms
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 46 ms
[General][1401/02/13 05:33: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 : 7250
	Boolean : True

[General][1401/02/13 05:33: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 312 ms
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10817

[General][1401/02/13 05:33: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 : 10817
	Boolean : True

[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7251
	Boolean : True

[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10818

[General][1401/02/13 05:33: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 : 10818
	Boolean : True

[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7252
	Boolean : True

[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10274

[General][1401/02/13 05:33: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 : 10274
	Boolean : True

[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7253
	Boolean : True

[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9590

[General][1401/02/13 05:33: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 : 9590
	Boolean : True

[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7254
	Boolean : True

[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9590

[General][1401/02/13 05:33: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 : 9590
	Boolean : True

[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7255
	Boolean : True

[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9590

[General][1401/02/13 05:33: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 : 9590
	Boolean : True

[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7256
	Boolean : True

[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9590

[General][1401/02/13 05:33: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 : 9590
	Boolean : True

[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7257
	Boolean : True

[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9591

[General][1401/02/13 05:33: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 : 9591
	Boolean : True

[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7258
	Boolean : True

[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9591

[General][1401/02/13 05:33: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 : 9591
	Boolean : True

[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7259
	Boolean : True

[General][1401/02/13 05:33: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 344 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9591

[General][1401/02/13 05:33: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 : 9591
	Boolean : True

[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 14 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 30 ms
[General][1401/02/13 05:33: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 : 7260
	Boolean : True

[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9591

[General][1401/02/13 05:33: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 : 9591
	Boolean : True

[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7261
	Boolean : True

[General][1401/02/13 05:33: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 312 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9591

[General][1401/02/13 05:33: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 : 9591
	Boolean : True

[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7262
	Boolean : True

[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9595

[General][1401/02/13 05:33: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 : 9595
	Boolean : True

[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7263
	Boolean : True

[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7264
	Boolean : True

[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7265
	Boolean : True

[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7266
	Boolean : True

[General][1401/02/13 05:33: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 328 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7267
	Boolean : True

[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7268
	Boolean : True

[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7269
	Boolean : True

[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7270
	Boolean : True

[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7271
	Boolean : True

[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7272
	Boolean : True

[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9592

[General][1401/02/13 05:33: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 : 9592
	Boolean : True

[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7273
	Boolean : True

[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7274
	Boolean : True

[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7275
	Boolean : True

[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7276
	Boolean : True

[General][1401/02/13 05:33: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 234 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7277
	Boolean : True

[General][1401/02/13 05:33: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 234 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7278
	Boolean : True

[General][1401/02/13 05:33: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 234 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7279
	Boolean : True

[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7280
	Boolean : True

[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7281
	Boolean : True

[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7282
	Boolean : True

[General][1401/02/13 05:33: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 249 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9593

[General][1401/02/13 05:33: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 : 9593
	Boolean : True

[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7283
	Boolean : True

[General][1401/02/13 05:33: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 343 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9594

[General][1401/02/13 05:33: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 : 9594
	Boolean : True

[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7284
	Boolean : True

[General][1401/02/13 05:33: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 328 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9595

[General][1401/02/13 05:33: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 : 9595
	Boolean : True

[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 46 ms
[General][1401/02/13 05:33: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 : 7285
	Boolean : True

[General][1401/02/13 05:33: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 281 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9595

[General][1401/02/13 05:33: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 : 9595
	Boolean : True

[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7286
	Boolean : True

[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9595

[General][1401/02/13 05:33: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 : 9595
	Boolean : True

[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7287
	Boolean : True

[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9595

[General][1401/02/13 05:33: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 : 9595
	Boolean : True

[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7288
	Boolean : True

[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9595

[General][1401/02/13 05:33: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 : 9595
	Boolean : True

[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7289
	Boolean : True

[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9595

[General][1401/02/13 05:33: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 : 9595
	Boolean : True

[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7290
	Boolean : True

[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9595

[General][1401/02/13 05:33: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 : 9595
	Boolean : True

[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7291
	Boolean : True

[General][1401/02/13 05:33: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 312 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9595

[General][1401/02/13 05:33: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 : 9595
	Boolean : True

[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7292
	Boolean : True

[General][1401/02/13 05:33: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 203 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9596

[General][1401/02/13 05:33: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 : 9596
	Boolean : True

[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7293
	Boolean : True

[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9596

[General][1401/02/13 05:33: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 : 9596
	Boolean : True

[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7294
	Boolean : True

[General][1401/02/13 05:33: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 312 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9596

[General][1401/02/13 05:33: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 : 9596
	Boolean : True

[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7295
	Boolean : True

[General][1401/02/13 05:33: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 296 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9596

[General][1401/02/13 05:33: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 : 9596
	Boolean : True

[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7296
	Boolean : True

[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9596

[General][1401/02/13 05:33: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 : 9596
	Boolean : True

[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7297
	Boolean : True

[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9596

[General][1401/02/13 05:33: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 : 9596
	Boolean : True

[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7298
	Boolean : True

[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9596

[General][1401/02/13 05:33: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 : 9596
	Boolean : True

[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7299
	Boolean : True

[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9596

[General][1401/02/13 05:33: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 : 9596
	Boolean : True

[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7300
	Boolean : True

[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9596

[General][1401/02/13 05:33: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 : 9596
	Boolean : True

[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7301
	Boolean : True

[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9597

[General][1401/02/13 05:33: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 : 9597
	Boolean : True

[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7302
	Boolean : True

[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9597

[General][1401/02/13 05:33: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 : 9597
	Boolean : True

[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7303
	Boolean : True

[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9597

[General][1401/02/13 05:33: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 : 9597
	Boolean : True

[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7304
	Boolean : True

[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9597

[General][1401/02/13 05:33: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 : 9597
	Boolean : True

[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7305
	Boolean : True

[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9598

[General][1401/02/13 05:33: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 : 9598
	Boolean : True

[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7306
	Boolean : True

[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9598

[General][1401/02/13 05:33: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 : 9598
	Boolean : True

[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7307
	Boolean : True

[General][1401/02/13 05:33: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 359 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9598

[General][1401/02/13 05:33: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 : 9598
	Boolean : True

[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 46 ms
[General][1401/02/13 05:33: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 : 7308
	Boolean : True

[General][1401/02/13 05:33: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 234 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9598

[General][1401/02/13 05:33: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 : 9598
	Boolean : True

[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7309
	Boolean : True

[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9598

[General][1401/02/13 05:33: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 : 9598
	Boolean : True

[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 46 ms
[General][1401/02/13 05:33: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 : 7310
	Boolean : True

[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9598

[General][1401/02/13 05:33: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 : 9598
	Boolean : True

[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7311
	Boolean : True

[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9598

[General][1401/02/13 05:33: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 : 9598
	Boolean : True

[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7312
	Boolean : True

[General][1401/02/13 05:33: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 359 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9598

[General][1401/02/13 05:33: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 : 9598
	Boolean : True

[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7313
	Boolean : True

[General][1401/02/13 05:33: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 234 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9598

[General][1401/02/13 05:33: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 : 9598
	Boolean : True

[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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 15 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:33: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:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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 46 ms
[General][1401/02/13 05:33: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 : 7314
	Boolean : True

[General][1401/02/13 05:33: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 343 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10033

[General][1401/02/13 05:33: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 : 10033
	Boolean : True

[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7315
	Boolean : True

[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10034

[General][1401/02/13 05:33: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 : 10034
	Boolean : True

[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7316
	Boolean : True

[General][1401/02/13 05:33: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 328 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10035

[General][1401/02/13 05:33: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 : 10035
	Boolean : True

[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7317
	Boolean : True

[General][1401/02/13 05:33: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 265 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10036

[General][1401/02/13 05:33: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 : 10036
	Boolean : True

[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7318
	Boolean : True

[General][1401/02/13 05:33: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 281 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10819

[General][1401/02/13 05:33: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 : 10819
	Boolean : True

[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7319
	Boolean : True

[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10820

[General][1401/02/13 05:33: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 : 10820
	Boolean : True

[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7320
	Boolean : True

[General][1401/02/13 05:33: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 234 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10548

[General][1401/02/13 05:33: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 : 10548
	Boolean : True

[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7321
	Boolean : True

[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10821

[General][1401/02/13 05:33: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 : 10821
	Boolean : True

[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:33: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:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7322
	Boolean : True

[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10822

[General][1401/02/13 05:33: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 : 10822
	Boolean : True

[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:33: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:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:33: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:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33: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 : 7323
	Boolean : True

[General][1401/02/13 05:33: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 343 ms
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10823

[General][1401/02/13 05:33: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 : 10823
	Boolean : True

[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:33: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:33:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
