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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[General][1401/02/13 05:30: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:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:30: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:30: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:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6539
	Boolean : True

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

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

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

[General][1401/02/13 05:30: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:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:30: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:30: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:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6540
	Boolean : True

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[General][1401/02/13 05:30: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:30:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:30:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:30: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:30: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:30:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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 15 ms
[General][1401/02/13 05:30: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 : 6565
	Boolean : True

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[General][1401/02/13 05:30: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:30:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:30:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:30: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:30: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:30:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:30: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 : 6628
	Boolean : True

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[General][1401/02/13 05:30: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:30:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:30:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:30: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:30: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:30:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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 15 ms
[General][1401/02/13 05:30: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 : 6641
	Boolean : True

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[General][1401/02/13 05:30: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:30:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:30:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:30: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:30: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:30:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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 15 ms
[General][1401/02/13 05:30: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 : 6698
	Boolean : True

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[General][1401/02/13 05:30: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 : 9512
	Boolean : True

[General][1401/02/13 05:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:30: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:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6710
	Boolean : True

[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9512

[General][1401/02/13 05:30: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 : 9512
	Boolean : True

[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6711
	Boolean : True

[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:30: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 : 9513
	Boolean : True

[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6712
	Boolean : True

[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:30: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 : 9513
	Boolean : True

[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6713
	Boolean : True

[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9514

[General][1401/02/13 05:30: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 : 9514
	Boolean : True

[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6714
	Boolean : True

[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:30: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 : 9513
	Boolean : True

[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:30: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:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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 15 ms
[General][1401/02/13 05:30: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 : 6715
	Boolean : True

[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:30: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 : 9513
	Boolean : True

[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6716
	Boolean : True

[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:30: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 : 9513
	Boolean : True

[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6717
	Boolean : True

[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:31: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 : 9513
	Boolean : True

[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6718
	Boolean : True

[General][1401/02/13 05:31: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 265 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:31: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 : 9513
	Boolean : True

[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6719
	Boolean : True

[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:31: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 : 9513
	Boolean : True

[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6720
	Boolean : True

[General][1401/02/13 05:31: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:31:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:31: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 : 9513
	Boolean : True

[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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 15 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:31: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 : 6721
	Boolean : True

[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9513

[General][1401/02/13 05:31: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 : 9513
	Boolean : True

[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6722
	Boolean : True

[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9515

[General][1401/02/13 05:31: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 : 9515
	Boolean : True

[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6723
	Boolean : True

[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9515

[General][1401/02/13 05:31: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 : 9515
	Boolean : True

[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:31: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 : 6724
	Boolean : True

[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9521

[General][1401/02/13 05:31: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 : 9521
	Boolean : True

[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6725
	Boolean : True

[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9516

[General][1401/02/13 05:31: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 : 9516
	Boolean : True

[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6726
	Boolean : True

[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9516

[General][1401/02/13 05:31: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 : 9516
	Boolean : True

[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6727
	Boolean : True

[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9516

[General][1401/02/13 05:31: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 : 9516
	Boolean : True

[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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 15 ms
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6728
	Boolean : True

[General][1401/02/13 05:31: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 265 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9516

[General][1401/02/13 05:31: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 : 9516
	Boolean : True

[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6729
	Boolean : True

[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9517

[General][1401/02/13 05:31: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 : 9517
	Boolean : True

[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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 15 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6730
	Boolean : True

[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9517

[General][1401/02/13 05:31: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 : 9517
	Boolean : True

[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6731
	Boolean : True

[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9517

[General][1401/02/13 05:31: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 : 9517
	Boolean : True

[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6732
	Boolean : True

[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6733
	Boolean : True

[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6734
	Boolean : True

[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6735
	Boolean : True

[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:31: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 : 6736
	Boolean : True

[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:31: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 : 6737
	Boolean : True

[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:31: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 : 6738
	Boolean : True

[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6739
	Boolean : True

[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6740
	Boolean : True

[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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 15 ms
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6741
	Boolean : True

[General][1401/02/13 05:31: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 359 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9518

[General][1401/02/13 05:31: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 : 9518
	Boolean : True

[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6742
	Boolean : True

[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9519

[General][1401/02/13 05:31: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 : 9519
	Boolean : True

[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6743
	Boolean : True

[General][1401/02/13 05:31: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 328 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9519

[General][1401/02/13 05:31: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 : 9519
	Boolean : True

[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6744
	Boolean : True

[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9519

[General][1401/02/13 05:31: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 : 9519
	Boolean : True

[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:31: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 : 6745
	Boolean : True

[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9519

[General][1401/02/13 05:31: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 : 9519
	Boolean : True

[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6746
	Boolean : True

[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9519

[General][1401/02/13 05:31: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 : 9519
	Boolean : True

[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6747
	Boolean : True

[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9519

[General][1401/02/13 05:31: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 : 9519
	Boolean : True

[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6748
	Boolean : True

[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9519

[General][1401/02/13 05:31: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 : 9519
	Boolean : True

[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6749
	Boolean : True

[General][1401/02/13 05:31: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 312 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9519

[General][1401/02/13 05:31: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 : 9519
	Boolean : True

[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6750
	Boolean : True

[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9520

[General][1401/02/13 05:31: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 : 9520
	Boolean : True

[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6751
	Boolean : True

[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9520

[General][1401/02/13 05:31: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 : 9520
	Boolean : True

[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6752
	Boolean : True

[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9520

[General][1401/02/13 05:31: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 : 9520
	Boolean : True

[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6753
	Boolean : True

[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9520

[General][1401/02/13 05:31: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 : 9520
	Boolean : True

[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6754
	Boolean : True

[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9520

[General][1401/02/13 05:31: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 : 9520
	Boolean : True

[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6755
	Boolean : True

[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9521

[General][1401/02/13 05:31: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 : 9521
	Boolean : True

[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6756
	Boolean : True

[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9521

[General][1401/02/13 05:31: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 : 9521
	Boolean : True

[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6757
	Boolean : True

[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9521

[General][1401/02/13 05:31: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 : 9521
	Boolean : True

[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6758
	Boolean : True

[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9521

[General][1401/02/13 05:31: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 : 9521
	Boolean : True

[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6759
	Boolean : True

[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9521

[General][1401/02/13 05:31: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 : 9521
	Boolean : True

[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6760
	Boolean : True

[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9521

[General][1401/02/13 05:31: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 : 9521
	Boolean : True

[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6761
	Boolean : True

[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9521

[General][1401/02/13 05:31: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 : 9521
	Boolean : True

[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6762
	Boolean : True

[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9521

[General][1401/02/13 05:31: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 : 9521
	Boolean : True

[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6763
	Boolean : True

[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9522

[General][1401/02/13 05:31: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 : 9522
	Boolean : True

[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6764
	Boolean : True

[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9522

[General][1401/02/13 05:31: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 : 9522
	Boolean : True

[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6765
	Boolean : True

[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9522

[General][1401/02/13 05:31: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 : 9522
	Boolean : True

[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6766
	Boolean : True

[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9522

[General][1401/02/13 05:31: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 : 9522
	Boolean : True

[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6767
	Boolean : True

[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9523

[General][1401/02/13 05:31: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 : 9523
	Boolean : True

[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6768
	Boolean : True

[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9523

[General][1401/02/13 05:31: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 : 9523
	Boolean : True

[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6769
	Boolean : True

[General][1401/02/13 05:31: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 250 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9523

[General][1401/02/13 05:31: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 : 9523
	Boolean : True

[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6770
	Boolean : True

[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9523

[General][1401/02/13 05:31: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 : 9523
	Boolean : True

[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6771
	Boolean : True

[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9523

[General][1401/02/13 05:31: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 : 9523
	Boolean : True

[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6772
	Boolean : True

[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9524

[General][1401/02/13 05:31: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 : 9524
	Boolean : True

[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6773
	Boolean : True

[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9524

[General][1401/02/13 05:31: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 : 9524
	Boolean : True

[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6774
	Boolean : True

[General][1401/02/13 05:31: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 234 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9524

[General][1401/02/13 05:31: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 : 9524
	Boolean : True

[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6775
	Boolean : True

[General][1401/02/13 05:31: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 234 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9524

[General][1401/02/13 05:31: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 : 9524
	Boolean : True

[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6776
	Boolean : True

[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9524

[General][1401/02/13 05:31: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 : 9524
	Boolean : True

[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6777
	Boolean : True

[General][1401/02/13 05:31: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 234 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9524

[General][1401/02/13 05:31: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 : 9524
	Boolean : True

[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6778
	Boolean : True

[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9524

[General][1401/02/13 05:31: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 : 9524
	Boolean : True

[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6779
	Boolean : True

[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9524

[General][1401/02/13 05:31: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 : 9524
	Boolean : True

[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6780
	Boolean : True

[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9524

[General][1401/02/13 05:31: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 : 9524
	Boolean : True

[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6781
	Boolean : True

[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9525

[General][1401/02/13 05:31: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 : 9525
	Boolean : True

[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6782
	Boolean : True

[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9525

[General][1401/02/13 05:31: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 : 9525
	Boolean : True

[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6783
	Boolean : True

[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9525

[General][1401/02/13 05:31: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 : 9525
	Boolean : True

[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6784
	Boolean : True

[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9525

[General][1401/02/13 05:31: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 : 9525
	Boolean : True

[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6785
	Boolean : True

[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9525

[General][1401/02/13 05:31: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 : 9525
	Boolean : True

[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6786
	Boolean : True

[General][1401/02/13 05:31: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 250 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9525

[General][1401/02/13 05:31: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 : 9525
	Boolean : True

[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6787
	Boolean : True

[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9526

[General][1401/02/13 05:31: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 : 9526
	Boolean : True

[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6788
	Boolean : True

[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9526

[General][1401/02/13 05:31: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 : 9526
	Boolean : True

[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6789
	Boolean : True

[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9526

[General][1401/02/13 05:31: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 : 9526
	Boolean : True

[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6790
	Boolean : True

[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10760

[General][1401/02/13 05:31: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 : 10760
	Boolean : True

[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6791
	Boolean : True

[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10761

[General][1401/02/13 05:31: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 : 10761
	Boolean : True

[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6792
	Boolean : True

[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10762

[General][1401/02/13 05:31: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 : 10762
	Boolean : True

[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6793
	Boolean : True

[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10763

[General][1401/02/13 05:31: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 : 10763
	Boolean : True

[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6794
	Boolean : True

[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10764

[General][1401/02/13 05:31: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 : 10764
	Boolean : True

[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6795
	Boolean : True

[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10765

[General][1401/02/13 05:31: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 : 10765
	Boolean : True

[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6796
	Boolean : True

[General][1401/02/13 05:31: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 249 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9528

[General][1401/02/13 05:31: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 : 9528
	Boolean : True

[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6797
	Boolean : True

[General][1401/02/13 05:31: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 265 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10766

[General][1401/02/13 05:31: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 : 10766
	Boolean : True

[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6798
	Boolean : True

[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10767

[General][1401/02/13 05:31: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 : 10767
	Boolean : True

[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6799
	Boolean : True

[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10768

[General][1401/02/13 05:31: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 : 10768
	Boolean : True

[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6800
	Boolean : True

[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9528

[General][1401/02/13 05:31: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 : 9528
	Boolean : True

[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6801
	Boolean : True

[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9528

[General][1401/02/13 05:31: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 : 9528
	Boolean : True

[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6802
	Boolean : True

[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9528

[General][1401/02/13 05:31: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 : 9528
	Boolean : True

[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6803
	Boolean : True

[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9528

[General][1401/02/13 05:31: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 : 9528
	Boolean : True

[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6804
	Boolean : True

[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9528

[General][1401/02/13 05:31: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 : 9528
	Boolean : True

[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6805
	Boolean : True

[General][1401/02/13 05:31: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 313 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 30 ms
[General][1401/02/13 05:31: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 : 6806
	Boolean : True

[General][1401/02/13 05:31: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 343 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6807
	Boolean : True

[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6808
	Boolean : True

[General][1401/02/13 05:31: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 203 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 0 ms
[General][1401/02/13 05:31: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 : 6809
	Boolean : True

[General][1401/02/13 05:31: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 203 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6810
	Boolean : True

[General][1401/02/13 05:31: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 187 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 0 ms
[General][1401/02/13 05:31: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 : 6811
	Boolean : True

[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6812
	Boolean : True

[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6813
	Boolean : True

[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6814
	Boolean : True

[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6815
	Boolean : True

[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6816
	Boolean : True

[General][1401/02/13 05:31: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 374 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6817
	Boolean : True

[General][1401/02/13 05:31: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 359 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6818
	Boolean : True

[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9529

[General][1401/02/13 05:31: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 : 9529
	Boolean : True

[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6819
	Boolean : True

[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6820
	Boolean : True

[General][1401/02/13 05:31: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 343 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6821
	Boolean : True

[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6822
	Boolean : True

[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6823
	Boolean : True

[General][1401/02/13 05:31: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 281 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6824
	Boolean : True

[General][1401/02/13 05:31: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 281 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6825
	Boolean : True

[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6826
	Boolean : True

[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6827
	Boolean : True

[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6828
	Boolean : True

[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6829
	Boolean : True

[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9530

[General][1401/02/13 05:31: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 : 9530
	Boolean : True

[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6830
	Boolean : True

[General][1401/02/13 05:31: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 421 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9531

[General][1401/02/13 05:31: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 : 9531
	Boolean : True

[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6831
	Boolean : True

[General][1401/02/13 05:31: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 312 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9531

[General][1401/02/13 05:31: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 : 9531
	Boolean : True

[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6832
	Boolean : True

[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9531

[General][1401/02/13 05:31: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 : 9531
	Boolean : True

[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6833
	Boolean : True

[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9531

[General][1401/02/13 05:31: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 : 9531
	Boolean : True

[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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 15 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6834
	Boolean : True

[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9531

[General][1401/02/13 05:31: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 : 9531
	Boolean : True

[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6835
	Boolean : True

[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9531

[General][1401/02/13 05:31: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 : 9531
	Boolean : True

[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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 15 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6836
	Boolean : True

[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9531

[General][1401/02/13 05:31: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 : 9531
	Boolean : True

[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6837
	Boolean : True

[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9531

[General][1401/02/13 05:31: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 : 9531
	Boolean : True

[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6838
	Boolean : True

[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9531

[General][1401/02/13 05:31: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 : 9531
	Boolean : True

[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6839
	Boolean : True

[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9532

[General][1401/02/13 05:31: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 : 9532
	Boolean : True

[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6840
	Boolean : True

[General][1401/02/13 05:31: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 374 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9532

[General][1401/02/13 05:31: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 : 9532
	Boolean : True

[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6841
	Boolean : True

[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9532

[General][1401/02/13 05:31: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 : 9532
	Boolean : True

[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6842
	Boolean : True

[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9533

[General][1401/02/13 05:31: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 : 9533
	Boolean : True

[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6843
	Boolean : True

[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9533

[General][1401/02/13 05:31: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 : 9533
	Boolean : True

[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6844
	Boolean : True

[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9533

[General][1401/02/13 05:31: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 : 9533
	Boolean : True

[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6845
	Boolean : True

[General][1401/02/13 05:31: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 265 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9533

[General][1401/02/13 05:31: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 : 9533
	Boolean : True

[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:31: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 : 6846
	Boolean : True

[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9533

[General][1401/02/13 05:31: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 : 9533
	Boolean : True

[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6847
	Boolean : True

[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9533

[General][1401/02/13 05:31: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 : 9533
	Boolean : True

[General][1401/02/13 05:31: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:31:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6848
	Boolean : True

[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9533

[General][1401/02/13 05:31: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 : 9533
	Boolean : True

[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6849
	Boolean : True

[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9533

[General][1401/02/13 05:31: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 : 9533
	Boolean : True

[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6850
	Boolean : True

[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9534

[General][1401/02/13 05:31: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 : 9534
	Boolean : True

[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6851
	Boolean : True

[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9533

[General][1401/02/13 05:31: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 : 9533
	Boolean : True

[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6852
	Boolean : True

[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9534

[General][1401/02/13 05:31: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 : 9534
	Boolean : True

[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6853
	Boolean : True

[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9534

[General][1401/02/13 05:31: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 : 9534
	Boolean : True

[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6854
	Boolean : True

[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9535

[General][1401/02/13 05:31: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 : 9535
	Boolean : True

[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6855
	Boolean : True

[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9535

[General][1401/02/13 05:31: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 : 9535
	Boolean : True

[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6856
	Boolean : True

[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9535

[General][1401/02/13 05:31: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 : 9535
	Boolean : True

[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6857
	Boolean : True

[General][1401/02/13 05:31: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 343 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9535

[General][1401/02/13 05:31: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 : 9535
	Boolean : True

[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6858
	Boolean : True

[General][1401/02/13 05:31: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 250 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9535

[General][1401/02/13 05:31: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 : 9535
	Boolean : True

[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6859
	Boolean : True

[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9535

[General][1401/02/13 05:31: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 : 9535
	Boolean : True

[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6860
	Boolean : True

[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9535

[General][1401/02/13 05:31: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 : 9535
	Boolean : True

[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6861
	Boolean : True

[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9536

[General][1401/02/13 05:31: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 : 9536
	Boolean : True

[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6862
	Boolean : True

[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9536

[General][1401/02/13 05:31: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 : 9536
	Boolean : True

[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6863
	Boolean : True

[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9536

[General][1401/02/13 05:31: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 : 9536
	Boolean : True

[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6864
	Boolean : True

[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9536

[General][1401/02/13 05:31: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 : 9536
	Boolean : True

[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6865
	Boolean : True

[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9536

[General][1401/02/13 05:31: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 : 9536
	Boolean : True

[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6866
	Boolean : True

[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9536

[General][1401/02/13 05:31: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 : 9536
	Boolean : True

[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6867
	Boolean : True

[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9536

[General][1401/02/13 05:31: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 : 9536
	Boolean : True

[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6868
	Boolean : True

[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9536

[General][1401/02/13 05:31: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 : 9536
	Boolean : True

[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6869
	Boolean : True

[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10520

[General][1401/02/13 05:31: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 : 10520
	Boolean : True

[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6870
	Boolean : True

[General][1401/02/13 05:31: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 390 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10769

[General][1401/02/13 05:31: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 : 10769
	Boolean : True

[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6871
	Boolean : True

[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10770

[General][1401/02/13 05:31: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 : 10770
	Boolean : True

[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:31: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 : 6872
	Boolean : True

[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10771

[General][1401/02/13 05:31: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 : 10771
	Boolean : True

[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6873
	Boolean : True

[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10772

[General][1401/02/13 05:31: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 : 10772
	Boolean : True

[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6874
	Boolean : True

[General][1401/02/13 05:31: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 203 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10773

[General][1401/02/13 05:31: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 : 10773
	Boolean : True

[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6875
	Boolean : True

[General][1401/02/13 05:31: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 203 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10774

[General][1401/02/13 05:31: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 : 10774
	Boolean : True

[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6876
	Boolean : True

[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10775

[General][1401/02/13 05:31: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 : 10775
	Boolean : True

[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6877
	Boolean : True

[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10776

[General][1401/02/13 05:31: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 : 10776
	Boolean : True

[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6878
	Boolean : True

[General][1401/02/13 05:31: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 250 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9538

[General][1401/02/13 05:31: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 : 9538
	Boolean : True

[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6879
	Boolean : True

[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9538

[General][1401/02/13 05:31: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 : 9538
	Boolean : True

[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6880
	Boolean : True

[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9538

[General][1401/02/13 05:31: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 : 9538
	Boolean : True

[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6881
	Boolean : True

[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9539

[General][1401/02/13 05:31: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 : 9539
	Boolean : True

[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6882
	Boolean : True

[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9539

[General][1401/02/13 05:31: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 : 9539
	Boolean : True

[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6883
	Boolean : True

[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9539

[General][1401/02/13 05:31: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 : 9539
	Boolean : True

[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6884
	Boolean : True

[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9539

[General][1401/02/13 05:31: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 : 9539
	Boolean : True

[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:31: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:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6885
	Boolean : True

[General][1401/02/13 05:31: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 281 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9539

[General][1401/02/13 05:31: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 : 9539
	Boolean : True

[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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 15 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6886
	Boolean : True

[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9539

[General][1401/02/13 05:31: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 : 9539
	Boolean : True

[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6887
	Boolean : True

[General][1401/02/13 05:31: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 312 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9539

[General][1401/02/13 05:31: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 : 9539
	Boolean : True

[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6888
	Boolean : True

[General][1401/02/13 05:31: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 343 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9540

[General][1401/02/13 05:31: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 : 9540
	Boolean : True

[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6889
	Boolean : True

[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9540

[General][1401/02/13 05:31: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 : 9540
	Boolean : True

[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6890
	Boolean : True

[General][1401/02/13 05:31: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 265 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9540

[General][1401/02/13 05:31: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 : 9540
	Boolean : True

[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6891
	Boolean : True

[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9540

[General][1401/02/13 05:31: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 : 9540
	Boolean : True

[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6892
	Boolean : True

[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9540

[General][1401/02/13 05:31: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 : 9540
	Boolean : True

[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6893
	Boolean : True

[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9540

[General][1401/02/13 05:31: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 : 9540
	Boolean : True

[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6894
	Boolean : True

[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9540

[General][1401/02/13 05:31: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 : 9540
	Boolean : True

[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6895
	Boolean : True

[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9540

[General][1401/02/13 05:31: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 : 9540
	Boolean : True

[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6896
	Boolean : True

[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9540

[General][1401/02/13 05:31: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 : 9540
	Boolean : True

[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6897
	Boolean : True

[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9541

[General][1401/02/13 05:31: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 : 9541
	Boolean : True

[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6898
	Boolean : True

[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9541

[General][1401/02/13 05:31: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 : 9541
	Boolean : True

[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6899
	Boolean : True

[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9541

[General][1401/02/13 05:31: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 : 9541
	Boolean : True

[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6900
	Boolean : True

[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9541

[General][1401/02/13 05:31: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 : 9541
	Boolean : True

[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6901
	Boolean : True

[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9542

[General][1401/02/13 05:31: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 : 9542
	Boolean : True

[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:31: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 : 6902
	Boolean : True

[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9541

[General][1401/02/13 05:31: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 : 9541
	Boolean : True

[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6903
	Boolean : True

[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9541

[General][1401/02/13 05:31: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 : 9541
	Boolean : True

[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6904
	Boolean : True

[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9541

[General][1401/02/13 05:31: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 : 9541
	Boolean : True

[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6905
	Boolean : True

[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9542

[General][1401/02/13 05:31: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 : 9542
	Boolean : True

[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6906
	Boolean : True

[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9542

[General][1401/02/13 05:31: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 : 9542
	Boolean : True

[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6907
	Boolean : True

[General][1401/02/13 05:31: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 218 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9548

[General][1401/02/13 05:31: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 : 9548
	Boolean : True

[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6908
	Boolean : True

[General][1401/02/13 05:31: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 296 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9542

[General][1401/02/13 05:31: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 : 9542
	Boolean : True

[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6909
	Boolean : True

[General][1401/02/13 05:31: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 218 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9542

[General][1401/02/13 05:31: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 : 9542
	Boolean : True

[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6910
	Boolean : True

[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9542

[General][1401/02/13 05:31: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 : 9542
	Boolean : True

[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6911
	Boolean : True

[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9542

[General][1401/02/13 05:31: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 : 9542
	Boolean : True

[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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 15 ms
[General][1401/02/13 05:31: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 : 6912
	Boolean : True

[General][1401/02/13 05:31: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 375 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9542

[General][1401/02/13 05:31: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 : 9542
	Boolean : True

[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:31: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:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:31: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:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:31: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:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:31:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:31: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:31: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 : 6913
	Boolean : True

[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]].FetchByID 218 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[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]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[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 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. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at 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 31 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 : 6914
	Boolean : True

[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]].FetchByID 218 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[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]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[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 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. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at 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 31 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 : 6915
	Boolean : True

[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]].FetchByID 218 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[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]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[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 31 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 : 6916
	Boolean : True

[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]].FetchByID 328 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9543

[General][1401/02/13 05:31: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 : 9543
	Boolean : True

[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[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]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:31: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:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:31:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
