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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[General][1401/02/13 05:34: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:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:34: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 : 7524
	Boolean : True

[General][1401/02/13 05:34: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 265 ms
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9622

[General][1401/02/13 05:34: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 : 9622
	Boolean : True

[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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 15 ms
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7525
	Boolean : True

[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9622

[General][1401/02/13 05:34: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 : 9622
	Boolean : True

[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7526
	Boolean : True

[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9622

[General][1401/02/13 05:34: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 : 9622
	Boolean : True

[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7527
	Boolean : True

[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9622

[General][1401/02/13 05:34: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 : 9622
	Boolean : True

[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7528
	Boolean : True

[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9622

[General][1401/02/13 05:34: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 : 9622
	Boolean : True

[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:34: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:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7529
	Boolean : True

[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9622

[General][1401/02/13 05:34: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 : 9622
	Boolean : True

[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7530
	Boolean : True

[General][1401/02/13 05:34: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 296 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9623

[General][1401/02/13 05:34: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 : 9623
	Boolean : True

[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:34: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 : 7531
	Boolean : True

[General][1401/02/13 05:34: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 343 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9623

[General][1401/02/13 05:34: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 : 9623
	Boolean : True

[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7532
	Boolean : True

[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9623

[General][1401/02/13 05:34: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 : 9623
	Boolean : True

[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7533
	Boolean : True

[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9623

[General][1401/02/13 05:34: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 : 9623
	Boolean : True

[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7534
	Boolean : True

[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9623

[General][1401/02/13 05:34: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 : 9623
	Boolean : True

[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:34: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 : 7535
	Boolean : True

[General][1401/02/13 05:34: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 249 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9623

[General][1401/02/13 05:34: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 : 9623
	Boolean : True

[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7536
	Boolean : True

[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9624

[General][1401/02/13 05:34: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 : 9624
	Boolean : True

[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7537
	Boolean : True

[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9624

[General][1401/02/13 05:34: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 : 9624
	Boolean : True

[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7538
	Boolean : True

[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9624

[General][1401/02/13 05:34: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 : 9624
	Boolean : True

[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:34: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:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7539
	Boolean : True

[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9624

[General][1401/02/13 05:34: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 : 9624
	Boolean : True

[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7540
	Boolean : True

[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9624

[General][1401/02/13 05:34: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 : 9624
	Boolean : True

[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7541
	Boolean : True

[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9624

[General][1401/02/13 05:34: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 : 9624
	Boolean : True

[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7542
	Boolean : True

[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:34: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 : 9625
	Boolean : True

[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:34: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:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7543
	Boolean : True

[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:34: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 : 9625
	Boolean : True

[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7544
	Boolean : True

[General][1401/02/13 05:34: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 375 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:34: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 : 9625
	Boolean : True

[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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 15 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:34: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:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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 62 ms
[General][1401/02/13 05:34: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 : 7545
	Boolean : True

[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:34: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 : 9625
	Boolean : True

[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7546
	Boolean : True

[General][1401/02/13 05:34: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 312 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:34: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 : 9625
	Boolean : True

[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7547
	Boolean : True

[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:34: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 : 9626
	Boolean : True

[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7548
	Boolean : True

[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:34: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 : 9625
	Boolean : True

[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:34: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:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:34: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:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:34: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:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:34:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:34: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:34: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 : 7549
	Boolean : True

[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7550
	Boolean : True

[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7551
	Boolean : True

[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7552
	Boolean : True

[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7553
	Boolean : True

[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7554
	Boolean : True

[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7555
	Boolean : True

[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7556
	Boolean : True

[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7557
	Boolean : True

[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7558
	Boolean : True

[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7559
	Boolean : True

[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7560
	Boolean : True

[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9625

[General][1401/02/13 05:35: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 : 9625
	Boolean : True

[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7561
	Boolean : True

[General][1401/02/13 05:35: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 187 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7562
	Boolean : True

[General][1401/02/13 05:35: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 187 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7563
	Boolean : True

[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7564
	Boolean : True

[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7565
	Boolean : True

[General][1401/02/13 05:35: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 374 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7566
	Boolean : True

[General][1401/02/13 05:35: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 328 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7567
	Boolean : True

[General][1401/02/13 05:35: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 343 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7568
	Boolean : True

[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7569
	Boolean : True

[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7570
	Boolean : True

[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7571
	Boolean : True

[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7572
	Boolean : True

[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7573
	Boolean : True

[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7574
	Boolean : True

[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9626

[General][1401/02/13 05:35: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 : 9626
	Boolean : True

[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7575
	Boolean : True

[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9627

[General][1401/02/13 05:35: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 : 9627
	Boolean : True

[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7576
	Boolean : True

[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9627

[General][1401/02/13 05:35: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 : 9627
	Boolean : True

[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7577
	Boolean : True

[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9627

[General][1401/02/13 05:35: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 : 9627
	Boolean : True

[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7578
	Boolean : True

[General][1401/02/13 05:35: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 359 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9627

[General][1401/02/13 05:35: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 : 9627
	Boolean : True

[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7579
	Boolean : True

[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9627

[General][1401/02/13 05:35: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 : 9627
	Boolean : True

[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7580
	Boolean : True

[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9627

[General][1401/02/13 05:35: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 : 9627
	Boolean : True

[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7581
	Boolean : True

[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9627

[General][1401/02/13 05:35: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 : 9627
	Boolean : True

[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7582
	Boolean : True

[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9627

[General][1401/02/13 05:35: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 : 9627
	Boolean : True

[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7583
	Boolean : True

[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9627

[General][1401/02/13 05:35: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 : 9627
	Boolean : True

[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7584
	Boolean : True

[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7585
	Boolean : True

[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7586
	Boolean : True

[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7587
	Boolean : True

[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7588
	Boolean : True

[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7589
	Boolean : True

[General][1401/02/13 05:35: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 375 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7590
	Boolean : True

[General][1401/02/13 05:35: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 343 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7591
	Boolean : True

[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7592
	Boolean : True

[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7593
	Boolean : True

[General][1401/02/13 05:35: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 359 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9628

[General][1401/02/13 05:35: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 : 9628
	Boolean : True

[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7594
	Boolean : True

[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10898

[General][1401/02/13 05:35: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 : 10898
	Boolean : True

[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7595
	Boolean : True

[General][1401/02/13 05:35: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 250 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10899

[General][1401/02/13 05:35: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 : 10899
	Boolean : True

[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7596
	Boolean : True

[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10900

[General][1401/02/13 05:35: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 : 10900
	Boolean : True

[General][1401/02/13 05:35: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:35:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7597
	Boolean : True

[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10552

[General][1401/02/13 05:35: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 : 10552
	Boolean : True

[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7598
	Boolean : True

[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10901

[General][1401/02/13 05:35: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 : 10901
	Boolean : True

[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7599
	Boolean : True

[General][1401/02/13 05:35: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 281 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10902

[General][1401/02/13 05:35: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 : 10902
	Boolean : True

[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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 15 ms
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7600
	Boolean : True

[General][1401/02/13 05:35: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 296 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10903

[General][1401/02/13 05:35: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 : 10903
	Boolean : True

[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7601
	Boolean : True

[General][1401/02/13 05:35: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 203 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10904

[General][1401/02/13 05:35: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 : 10904
	Boolean : True

[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7602
	Boolean : True

[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10304

[General][1401/02/13 05:35: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 : 10304
	Boolean : True

[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7603
	Boolean : True

[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10905

[General][1401/02/13 05:35: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 : 10905
	Boolean : True

[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7604
	Boolean : True

[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10906

[General][1401/02/13 05:35: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 : 10906
	Boolean : True

[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7605
	Boolean : True

[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10907

[General][1401/02/13 05:35: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 : 10907
	Boolean : True

[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7606
	Boolean : True

[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 359 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10908

[General][1401/02/13 05:35: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 : 10908
	Boolean : True

[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7607
	Boolean : True

[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10909

[General][1401/02/13 05:35: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 : 10909
	Boolean : True

[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7608
	Boolean : True

[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10237

[General][1401/02/13 05:35: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 : 10237
	Boolean : True

[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7609
	Boolean : True

[General][1401/02/13 05:35: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 312 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10910

[General][1401/02/13 05:35: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 : 10910
	Boolean : True

[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7610
	Boolean : True

[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10911

[General][1401/02/13 05:35: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 : 10911
	Boolean : True

[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7611
	Boolean : True

[General][1401/02/13 05:35: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 328 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10912

[General][1401/02/13 05:35: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 : 10912
	Boolean : True

[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7612
	Boolean : True

[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10913

[General][1401/02/13 05:35: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 : 10913
	Boolean : True

[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7613
	Boolean : True

[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10914

[General][1401/02/13 05:35: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 : 10914
	Boolean : True

[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7614
	Boolean : True

[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10915

[General][1401/02/13 05:35: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 : 10915
	Boolean : True

[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7615
	Boolean : True

[General][1401/02/13 05:35: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 343 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10916

[General][1401/02/13 05:35: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 : 10916
	Boolean : True

[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7616
	Boolean : True

[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10917

[General][1401/02/13 05:35: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 : 10917
	Boolean : True

[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7617
	Boolean : True

[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10918

[General][1401/02/13 05:35: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 : 10918
	Boolean : True

[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7618
	Boolean : True

[General][1401/02/13 05:35: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 359 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10919

[General][1401/02/13 05:35: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 : 10919
	Boolean : True

[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7619
	Boolean : True

[General][1401/02/13 05:35: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 281 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10920

[General][1401/02/13 05:35: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 : 10920
	Boolean : True

[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7620
	Boolean : True

[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10921

[General][1401/02/13 05:35: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 : 10921
	Boolean : True

[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7621
	Boolean : True

[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10922

[General][1401/02/13 05:35: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 : 10922
	Boolean : True

[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7622
	Boolean : True

[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10923

[General][1401/02/13 05:35: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 : 10923
	Boolean : True

[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7623
	Boolean : True

[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10924

[General][1401/02/13 05:35: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 : 10924
	Boolean : True

[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7624
	Boolean : True

[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10925

[General][1401/02/13 05:35: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 : 10925
	Boolean : True

[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7625
	Boolean : True

[General][1401/02/13 05:35: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 343 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10926

[General][1401/02/13 05:35: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 : 10926
	Boolean : True

[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7626
	Boolean : True

[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10283

[General][1401/02/13 05:35: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 : 10283
	Boolean : True

[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7627
	Boolean : True

[General][1401/02/13 05:35: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 265 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10927

[General][1401/02/13 05:35: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 : 10927
	Boolean : True

[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7628
	Boolean : True

[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10928

[General][1401/02/13 05:35: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 : 10928
	Boolean : True

[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7629
	Boolean : True

[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10929

[General][1401/02/13 05:35: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 : 10929
	Boolean : True

[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7630
	Boolean : True

[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10930

[General][1401/02/13 05:35: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 : 10930
	Boolean : True

[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7631
	Boolean : True

[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9632

[General][1401/02/13 05:35: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 : 9632
	Boolean : True

[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7632
	Boolean : True

[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9632

[General][1401/02/13 05:35: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 : 9632
	Boolean : True

[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7633
	Boolean : True

[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9632

[General][1401/02/13 05:35: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 : 9632
	Boolean : True

[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7634
	Boolean : True

[General][1401/02/13 05:35: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 359 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9632

[General][1401/02/13 05:35: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 : 9632
	Boolean : True

[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7635
	Boolean : True

[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9632

[General][1401/02/13 05:35: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 : 9632
	Boolean : True

[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7636
	Boolean : True

[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9632

[General][1401/02/13 05:35: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 : 9632
	Boolean : True

[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7637
	Boolean : True

[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10931

[General][1401/02/13 05:35: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 : 10931
	Boolean : True

[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7638
	Boolean : True

[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9632

[General][1401/02/13 05:35: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 : 9632
	Boolean : True

[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7639
	Boolean : True

[General][1401/02/13 05:35: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 296 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9632

[General][1401/02/13 05:35: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 : 9632
	Boolean : True

[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7640
	Boolean : True

[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10190

[General][1401/02/13 05:35: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 : 10190
	Boolean : True

[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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 15 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7641
	Boolean : True

[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10553

[General][1401/02/13 05:35: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 : 10553
	Boolean : True

[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7642
	Boolean : True

[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9632

[General][1401/02/13 05:35: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 : 9632
	Boolean : True

[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7643
	Boolean : True

[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10932

[General][1401/02/13 05:35: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 : 10932
	Boolean : True

[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7644
	Boolean : True

[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10554

[General][1401/02/13 05:35: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 : 10554
	Boolean : True

[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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 46 ms
[General][1401/02/13 05:35: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 : 7645
	Boolean : True

[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10933

[General][1401/02/13 05:35: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 : 10933
	Boolean : True

[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7646
	Boolean : True

[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10934

[General][1401/02/13 05:35: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 : 10934
	Boolean : True

[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7647
	Boolean : True

[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10935

[General][1401/02/13 05:35: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 : 10935
	Boolean : True

[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7648
	Boolean : True

[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10936

[General][1401/02/13 05:35: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 : 10936
	Boolean : True

[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7649
	Boolean : True

[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10937

[General][1401/02/13 05:35: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 : 10937
	Boolean : True

[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7650
	Boolean : True

[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10938

[General][1401/02/13 05:35: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 : 10938
	Boolean : True

[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7651
	Boolean : True

[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10939

[General][1401/02/13 05:35: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 : 10939
	Boolean : True

[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7652
	Boolean : True

[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10362

[General][1401/02/13 05:35: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 : 10362
	Boolean : True

[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7653
	Boolean : True

[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10940

[General][1401/02/13 05:35: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 : 10940
	Boolean : True

[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7654
	Boolean : True

[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10941

[General][1401/02/13 05:35: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 : 10941
	Boolean : True

[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7655
	Boolean : True

[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10942

[General][1401/02/13 05:35: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 : 10942
	Boolean : True

[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7656
	Boolean : True

[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10943

[General][1401/02/13 05:35: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 : 10943
	Boolean : True

[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7657
	Boolean : True

[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7658
	Boolean : True

[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10944

[General][1401/02/13 05:35: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 : 10944
	Boolean : True

[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7659
	Boolean : True

[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10945

[General][1401/02/13 05:35: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 : 10945
	Boolean : True

[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7660
	Boolean : True

[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7661
	Boolean : True

[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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 15 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7662
	Boolean : True

[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7663
	Boolean : True

[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7664
	Boolean : True

[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7665
	Boolean : True

[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 359 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7666
	Boolean : True

[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7667
	Boolean : True

[General][1401/02/13 05:35: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 187 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7668
	Boolean : True

[General][1401/02/13 05:35: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 187 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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 15 ms
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7669
	Boolean : True

[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9634

[General][1401/02/13 05:35: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 : 9634
	Boolean : True

[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7670
	Boolean : True

[General][1401/02/13 05:35: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 312 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10946

[General][1401/02/13 05:35: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 : 10946
	Boolean : True

[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7671
	Boolean : True

[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10947

[General][1401/02/13 05:35: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 : 10947
	Boolean : True

[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7672
	Boolean : True

[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10531

[General][1401/02/13 05:35: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 : 10531
	Boolean : True

[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7673
	Boolean : True

[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10948

[General][1401/02/13 05:35: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 : 10948
	Boolean : True

[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7674
	Boolean : True

[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10555

[General][1401/02/13 05:35: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 : 10555
	Boolean : True

[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7675
	Boolean : True

[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10949

[General][1401/02/13 05:35: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 : 10949
	Boolean : True

[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7676
	Boolean : True

[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10404

[General][1401/02/13 05:35: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 : 10404
	Boolean : True

[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7677
	Boolean : True

[General][1401/02/13 05:35: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 265 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10950

[General][1401/02/13 05:35: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 : 10950
	Boolean : True

[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7678
	Boolean : True

[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10951

[General][1401/02/13 05:35: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 : 10951
	Boolean : True

[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7679
	Boolean : True

[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10952

[General][1401/02/13 05:35: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 : 10952
	Boolean : True

[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7680
	Boolean : True

[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10953

[General][1401/02/13 05:35: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 : 10953
	Boolean : True

[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7681
	Boolean : True

[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10954

[General][1401/02/13 05:35: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 : 10954
	Boolean : True

[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7682
	Boolean : True

[General][1401/02/13 05:35: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 296 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10955

[General][1401/02/13 05:35: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 : 10955
	Boolean : True

[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7683
	Boolean : True

[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10400

[General][1401/02/13 05:35: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 : 10400
	Boolean : True

[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7684
	Boolean : True

[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10956

[General][1401/02/13 05:35: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 : 10956
	Boolean : True

[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7685
	Boolean : True

[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10957

[General][1401/02/13 05:35: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 : 10957
	Boolean : True

[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7686
	Boolean : True

[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10958

[General][1401/02/13 05:35: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 : 10958
	Boolean : True

[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7687
	Boolean : True

[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10959

[General][1401/02/13 05:35: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 : 10959
	Boolean : True

[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7688
	Boolean : True

[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10960

[General][1401/02/13 05:35: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 : 10960
	Boolean : True

[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7689
	Boolean : True

[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10961

[General][1401/02/13 05:35: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 : 10961
	Boolean : True

[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7690
	Boolean : True

[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10556

[General][1401/02/13 05:35: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 : 10556
	Boolean : True

[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7691
	Boolean : True

[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10962

[General][1401/02/13 05:35: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 : 10962
	Boolean : True

[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7692
	Boolean : True

[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10963

[General][1401/02/13 05:35: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 : 10963
	Boolean : True

[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7693
	Boolean : True

[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10557

[General][1401/02/13 05:35: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 : 10557
	Boolean : True

[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7694
	Boolean : True

[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10964

[General][1401/02/13 05:35: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 : 10964
	Boolean : True

[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7695
	Boolean : True

[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10965

[General][1401/02/13 05:35: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 : 10965
	Boolean : True

[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7696
	Boolean : True

[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10396

[General][1401/02/13 05:35: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 : 10396
	Boolean : True

[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7697
	Boolean : True

[General][1401/02/13 05:35: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 249 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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 15 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7698
	Boolean : True

[General][1401/02/13 05:35: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 375 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7699
	Boolean : True

[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7700
	Boolean : True

[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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 46 ms
[General][1401/02/13 05:35: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 : 7701
	Boolean : True

[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7702
	Boolean : True

[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7703
	Boolean : True

[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7704
	Boolean : True

[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7705
	Boolean : True

[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7706
	Boolean : True

[General][1401/02/13 05:35: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 328 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9638

[General][1401/02/13 05:35: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 : 9638
	Boolean : True

[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7707
	Boolean : True

[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 296 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10966

[General][1401/02/13 05:35: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 : 10966
	Boolean : True

[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7708
	Boolean : True

[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10967

[General][1401/02/13 05:35: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 : 10967
	Boolean : True

[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7709
	Boolean : True

[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10968

[General][1401/02/13 05:35: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 : 10968
	Boolean : True

[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7710
	Boolean : True

[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10969

[General][1401/02/13 05:35: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 : 10969
	Boolean : True

[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7711
	Boolean : True

[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10049

[General][1401/02/13 05:35: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 : 10049
	Boolean : True

[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7712
	Boolean : True

[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10970

[General][1401/02/13 05:35: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 : 10970
	Boolean : True

[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7713
	Boolean : True

[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10558

[General][1401/02/13 05:35: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 : 10558
	Boolean : True

[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7714
	Boolean : True

[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10394

[General][1401/02/13 05:35: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 : 10394
	Boolean : True

[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7715
	Boolean : True

[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10971

[General][1401/02/13 05:35: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 : 10971
	Boolean : True

[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7716
	Boolean : True

[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10972

[General][1401/02/13 05:35: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 : 10972
	Boolean : True

[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7717
	Boolean : True

[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10973

[General][1401/02/13 05:35: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 : 10973
	Boolean : True

[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7718
	Boolean : True

[General][1401/02/13 05:35: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 328 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10974

[General][1401/02/13 05:35: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 : 10974
	Boolean : True

[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7719
	Boolean : True

[General][1401/02/13 05:35: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 265 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10975

[General][1401/02/13 05:35: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 : 10975
	Boolean : True

[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7720
	Boolean : True

[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10976

[General][1401/02/13 05:35: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 : 10976
	Boolean : True

[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7721
	Boolean : True

[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 296 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9641

[General][1401/02/13 05:35: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 : 9641
	Boolean : True

[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7722
	Boolean : True

[General][1401/02/13 05:35: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 374 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9641

[General][1401/02/13 05:35: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 : 9641
	Boolean : True

[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7723
	Boolean : True

[General][1401/02/13 05:35: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 343 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9641

[General][1401/02/13 05:35: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 : 9641
	Boolean : True

[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7724
	Boolean : True

[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10977

[General][1401/02/13 05:35: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 : 10977
	Boolean : True

[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7725
	Boolean : True

[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10978

[General][1401/02/13 05:35: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 : 10978
	Boolean : True

[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35: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 : 7726
	Boolean : True

[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9643

[General][1401/02/13 05:35: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 : 9643
	Boolean : True

[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35: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:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7727
	Boolean : True

[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10979

[General][1401/02/13 05:35: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 : 10979
	Boolean : True

[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7728
	Boolean : True

[General][1401/02/13 05:35: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 312 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10980

[General][1401/02/13 05:35: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 : 10980
	Boolean : True

[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7729
	Boolean : True

[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10981

[General][1401/02/13 05:35: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 : 10981
	Boolean : True

[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7730
	Boolean : True

[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10392

[General][1401/02/13 05:35: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 : 10392
	Boolean : True

[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7731
	Boolean : True

[General][1401/02/13 05:35: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 249 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10982

[General][1401/02/13 05:35: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 : 10982
	Boolean : True

[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35: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:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35: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:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35: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:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35: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:35: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 : 7732
	Boolean : True

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 406 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10983

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10983
	Boolean : True

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
