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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[General][1401/02/13 05:29: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:29: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:29:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6299
	Boolean : True

[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9453

[General][1401/02/13 05:29: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 : 9453
	Boolean : True

[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6300
	Boolean : True

[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9453

[General][1401/02/13 05:29: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 : 9453
	Boolean : True

[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6301
	Boolean : True

[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9453

[General][1401/02/13 05:29: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 : 9453
	Boolean : True

[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6302
	Boolean : True

[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9453

[General][1401/02/13 05:29: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 : 9453
	Boolean : True

[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6303
	Boolean : True

[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9453

[General][1401/02/13 05:29: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 : 9453
	Boolean : True

[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6304
	Boolean : True

[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9454

[General][1401/02/13 05:29: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 : 9454
	Boolean : True

[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6305
	Boolean : True

[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9454

[General][1401/02/13 05:29: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 : 9454
	Boolean : True

[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6306
	Boolean : True

[General][1401/02/13 05:29: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 312 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9454

[General][1401/02/13 05:29: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 : 9454
	Boolean : True

[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6307
	Boolean : True

[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9454

[General][1401/02/13 05:29: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 : 9454
	Boolean : True

[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6308
	Boolean : True

[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9454

[General][1401/02/13 05:29: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 : 9454
	Boolean : True

[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6309
	Boolean : True

[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9454

[General][1401/02/13 05:29: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 : 9454
	Boolean : True

[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6310
	Boolean : True

[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9455

[General][1401/02/13 05:29: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 : 9455
	Boolean : True

[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6311
	Boolean : True

[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9455

[General][1401/02/13 05:29: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 : 9455
	Boolean : True

[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6312
	Boolean : True

[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9455

[General][1401/02/13 05:29: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 : 9455
	Boolean : True

[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6313
	Boolean : True

[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9455

[General][1401/02/13 05:29: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 : 9455
	Boolean : True

[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6314
	Boolean : True

[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9455

[General][1401/02/13 05:29: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 : 9455
	Boolean : True

[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6315
	Boolean : True

[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9455

[General][1401/02/13 05:29: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 : 9455
	Boolean : True

[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6316
	Boolean : True

[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9455

[General][1401/02/13 05:29: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 : 9455
	Boolean : True

[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6317
	Boolean : True

[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9455

[General][1401/02/13 05:29: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 : 9455
	Boolean : True

[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6318
	Boolean : True

[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9455

[General][1401/02/13 05:29: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 : 9455
	Boolean : True

[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6319
	Boolean : True

[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9456

[General][1401/02/13 05:29: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 : 9456
	Boolean : True

[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6320
	Boolean : True

[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9456

[General][1401/02/13 05:29: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 : 9456
	Boolean : True

[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6321
	Boolean : True

[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9456

[General][1401/02/13 05:29: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 : 9456
	Boolean : True

[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6322
	Boolean : True

[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9456

[General][1401/02/13 05:29: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 : 9456
	Boolean : True

[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6323
	Boolean : True

[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9462

[General][1401/02/13 05:29: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 : 9462
	Boolean : True

[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6324
	Boolean : True

[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9456

[General][1401/02/13 05:29: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 : 9456
	Boolean : True

[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6325
	Boolean : True

[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9456

[General][1401/02/13 05:29: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 : 9456
	Boolean : True

[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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 15 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6326
	Boolean : True

[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9456

[General][1401/02/13 05:29: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 : 9456
	Boolean : True

[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6327
	Boolean : True

[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9456

[General][1401/02/13 05:29: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 : 9456
	Boolean : True

[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6328
	Boolean : True

[General][1401/02/13 05:29: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 343 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9456

[General][1401/02/13 05:29: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 : 9456
	Boolean : True

[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6329
	Boolean : True

[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6330
	Boolean : True

[General][1401/02/13 05:29: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 265 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6331
	Boolean : True

[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6332
	Boolean : True

[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6333
	Boolean : True

[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6334
	Boolean : True

[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6335
	Boolean : True

[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6336
	Boolean : True

[General][1401/02/13 05:29: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 250 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6337
	Boolean : True

[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6338
	Boolean : True

[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6339
	Boolean : True

[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6340
	Boolean : True

[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9457

[General][1401/02/13 05:29: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 : 9457
	Boolean : True

[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6341
	Boolean : True

[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6342
	Boolean : True

[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6343
	Boolean : True

[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6344
	Boolean : True

[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6345
	Boolean : True

[General][1401/02/13 05:29: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 312 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6346
	Boolean : True

[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6347
	Boolean : True

[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6348
	Boolean : True

[General][1401/02/13 05:29: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 296 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6349
	Boolean : True

[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6350
	Boolean : True

[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9458

[General][1401/02/13 05:29: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 : 9458
	Boolean : True

[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6351
	Boolean : True

[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9459

[General][1401/02/13 05:29: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 : 9459
	Boolean : True

[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6352
	Boolean : True

[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9459

[General][1401/02/13 05:29: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 : 9459
	Boolean : True

[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6353
	Boolean : True

[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9459

[General][1401/02/13 05:29: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 : 9459
	Boolean : True

[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6354
	Boolean : True

[General][1401/02/13 05:29: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 203 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9459

[General][1401/02/13 05:29: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 : 9459
	Boolean : True

[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6355
	Boolean : True

[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9459

[General][1401/02/13 05:29: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 : 9459
	Boolean : True

[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6356
	Boolean : True

[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9460

[General][1401/02/13 05:29: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 : 9460
	Boolean : True

[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6357
	Boolean : True

[General][1401/02/13 05:29: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 203 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9460

[General][1401/02/13 05:29: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 : 9460
	Boolean : True

[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6358
	Boolean : True

[General][1401/02/13 05:29: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 187 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9460

[General][1401/02/13 05:29: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 : 9460
	Boolean : True

[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6359
	Boolean : True

[General][1401/02/13 05:29: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 203 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9461

[General][1401/02/13 05:29: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 : 9461
	Boolean : True

[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6360
	Boolean : True

[General][1401/02/13 05:29: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 203 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9461

[General][1401/02/13 05:29: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 : 9461
	Boolean : True

[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6361
	Boolean : True

[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9461

[General][1401/02/13 05:29: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 : 9461
	Boolean : True

[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6362
	Boolean : True

[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9461

[General][1401/02/13 05:29: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 : 9461
	Boolean : True

[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6363
	Boolean : True

[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9461

[General][1401/02/13 05:29: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 : 9461
	Boolean : True

[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6364
	Boolean : True

[General][1401/02/13 05:29: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 312 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9462

[General][1401/02/13 05:29: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 : 9462
	Boolean : True

[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6365
	Boolean : True

[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9461

[General][1401/02/13 05:29: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 : 9461
	Boolean : True

[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6366
	Boolean : True

[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9461

[General][1401/02/13 05:29: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 : 9461
	Boolean : True

[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6367
	Boolean : True

[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9461

[General][1401/02/13 05:29: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 : 9461
	Boolean : True

[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6368
	Boolean : True

[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9462

[General][1401/02/13 05:29: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 : 9462
	Boolean : True

[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6369
	Boolean : True

[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9462

[General][1401/02/13 05:29: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 : 9462
	Boolean : True

[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6370
	Boolean : True

[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9462

[General][1401/02/13 05:29: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 : 9462
	Boolean : True

[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6371
	Boolean : True

[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9462

[General][1401/02/13 05:29: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 : 9462
	Boolean : True

[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6372
	Boolean : True

[General][1401/02/13 05:29: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 312 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9462

[General][1401/02/13 05:29: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 : 9462
	Boolean : True

[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6373
	Boolean : True

[General][1401/02/13 05:29: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 296 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9462

[General][1401/02/13 05:29: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 : 9462
	Boolean : True

[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6374
	Boolean : True

[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9462

[General][1401/02/13 05:29: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 : 9462
	Boolean : True

[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6375
	Boolean : True

[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6376
	Boolean : True

[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6377
	Boolean : True

[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6378
	Boolean : True

[General][1401/02/13 05:29: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 312 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6379
	Boolean : True

[General][1401/02/13 05:29: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 390 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6380
	Boolean : True

[General][1401/02/13 05:29: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 296 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6381
	Boolean : True

[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6382
	Boolean : True

[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6383
	Boolean : True

[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6384
	Boolean : True

[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6385
	Boolean : True

[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6386
	Boolean : True

[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6387
	Boolean : True

[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6388
	Boolean : True

[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6389
	Boolean : True

[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9463

[General][1401/02/13 05:29: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 : 9463
	Boolean : True

[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6390
	Boolean : True

[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9464

[General][1401/02/13 05:29: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 : 9464
	Boolean : True

[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6391
	Boolean : True

[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9464

[General][1401/02/13 05:29: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 : 9464
	Boolean : True

[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6392
	Boolean : True

[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9464

[General][1401/02/13 05:29: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 : 9464
	Boolean : True

[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6393
	Boolean : True

[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9465

[General][1401/02/13 05:29: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 : 9465
	Boolean : True

[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6394
	Boolean : True

[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9465

[General][1401/02/13 05:29: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 : 9465
	Boolean : True

[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6395
	Boolean : True

[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9465

[General][1401/02/13 05:29: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 : 9465
	Boolean : True

[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6396
	Boolean : True

[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9465

[General][1401/02/13 05:29: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 : 9465
	Boolean : True

[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6397
	Boolean : True

[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6398
	Boolean : True

[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6399
	Boolean : True

[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6400
	Boolean : True

[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6401
	Boolean : True

[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6402
	Boolean : True

[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6403
	Boolean : True

[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6404
	Boolean : True

[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6405
	Boolean : True

[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6406
	Boolean : True

[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6407
	Boolean : True

[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9466

[General][1401/02/13 05:29: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 : 9466
	Boolean : True

[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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 15 ms
[General][1401/02/13 05:29: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 : 6408
	Boolean : True

[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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 15 ms
[General][1401/02/13 05:29: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 : 6409
	Boolean : True

[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6410
	Boolean : True

[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6411
	Boolean : True

[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6412
	Boolean : True

[General][1401/02/13 05:29: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 359 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6413
	Boolean : True

[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6414
	Boolean : True

[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6415
	Boolean : True

[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6416
	Boolean : True

[General][1401/02/13 05:29: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 359 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6417
	Boolean : True

[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6418
	Boolean : True

[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9467

[General][1401/02/13 05:29: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 : 9467
	Boolean : True

[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6419
	Boolean : True

[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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 15 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6420
	Boolean : True

[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6421
	Boolean : True

[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6422
	Boolean : True

[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6423
	Boolean : True

[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6424
	Boolean : True

[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6425
	Boolean : True

[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6426
	Boolean : True

[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6427
	Boolean : True

[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6428
	Boolean : True

[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6429
	Boolean : True

[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6430
	Boolean : True

[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9468

[General][1401/02/13 05:29: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 : 9468
	Boolean : True

[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6431
	Boolean : True

[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6432
	Boolean : True

[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6433
	Boolean : True

[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6434
	Boolean : True

[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6435
	Boolean : True

[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6436
	Boolean : True

[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6437
	Boolean : True

[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 374 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6438
	Boolean : True

[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6439
	Boolean : True

[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6440
	Boolean : True

[General][1401/02/13 05:29: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 250 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6441
	Boolean : True

[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6442
	Boolean : True

[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9469

[General][1401/02/13 05:29: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 : 9469
	Boolean : True

[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6443
	Boolean : True

[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9470

[General][1401/02/13 05:29: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 : 9470
	Boolean : True

[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6444
	Boolean : True

[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9470

[General][1401/02/13 05:29: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 : 9470
	Boolean : True

[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6445
	Boolean : True

[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9471

[General][1401/02/13 05:29: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 : 9471
	Boolean : True

[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6446
	Boolean : True

[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9471

[General][1401/02/13 05:29: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 : 9471
	Boolean : True

[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6447
	Boolean : True

[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9471

[General][1401/02/13 05:29: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 : 9471
	Boolean : True

[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6448
	Boolean : True

[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9471

[General][1401/02/13 05:29: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 : 9471
	Boolean : True

[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6449
	Boolean : True

[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9471

[General][1401/02/13 05:29: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 : 9471
	Boolean : True

[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6450
	Boolean : True

[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9471

[General][1401/02/13 05:29: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 : 9471
	Boolean : True

[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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 0 ms
[General][1401/02/13 05:29: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 : 6451
	Boolean : True

[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9471

[General][1401/02/13 05:29: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 : 9471
	Boolean : True

[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6452
	Boolean : True

[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9473

[General][1401/02/13 05:29: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 : 9473
	Boolean : True

[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6453
	Boolean : True

[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9472

[General][1401/02/13 05:29: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 : 9472
	Boolean : True

[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6454
	Boolean : True

[General][1401/02/13 05:29: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 296 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9472

[General][1401/02/13 05:29: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 : 9472
	Boolean : True

[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6455
	Boolean : True

[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9471

[General][1401/02/13 05:29: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 : 9471
	Boolean : True

[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6456
	Boolean : True

[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9472

[General][1401/02/13 05:29: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 : 9472
	Boolean : True

[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6457
	Boolean : True

[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9472

[General][1401/02/13 05:29: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 : 9472
	Boolean : True

[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6458
	Boolean : True

[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9473

[General][1401/02/13 05:29: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 : 9473
	Boolean : True

[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6459
	Boolean : True

[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9473

[General][1401/02/13 05:29: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 : 9473
	Boolean : True

[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6460
	Boolean : True

[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9473

[General][1401/02/13 05:29: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 : 9473
	Boolean : True

[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6461
	Boolean : True

[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9473

[General][1401/02/13 05:29: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 : 9473
	Boolean : True

[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6462
	Boolean : True

[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 359 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9473

[General][1401/02/13 05:29: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 : 9473
	Boolean : True

[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6463
	Boolean : True

[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9473

[General][1401/02/13 05:29: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 : 9473
	Boolean : True

[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6464
	Boolean : True

[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9477

[General][1401/02/13 05:29: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 : 9477
	Boolean : True

[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6465
	Boolean : True

[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9474

[General][1401/02/13 05:29: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 : 9474
	Boolean : True

[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6466
	Boolean : True

[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9474

[General][1401/02/13 05:29: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 : 9474
	Boolean : True

[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6467
	Boolean : True

[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9474

[General][1401/02/13 05:29: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 : 9474
	Boolean : True

[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6468
	Boolean : True

[General][1401/02/13 05:29: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 203 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9474

[General][1401/02/13 05:29: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 : 9474
	Boolean : True

[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6469
	Boolean : True

[General][1401/02/13 05:29: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 187 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9474

[General][1401/02/13 05:29: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 : 9474
	Boolean : True

[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6470
	Boolean : True

[General][1401/02/13 05:29: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 203 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9474

[General][1401/02/13 05:29: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 : 9474
	Boolean : True

[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6471
	Boolean : True

[General][1401/02/13 05:29: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 187 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9474

[General][1401/02/13 05:29: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 : 9474
	Boolean : True

[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6472
	Boolean : True

[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9474

[General][1401/02/13 05:29: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 : 9474
	Boolean : True

[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6473
	Boolean : True

[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9475

[General][1401/02/13 05:29: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 : 9475
	Boolean : True

[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6474
	Boolean : True

[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9475

[General][1401/02/13 05:29: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 : 9475
	Boolean : True

[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6475
	Boolean : True

[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9475

[General][1401/02/13 05:29: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 : 9475
	Boolean : True

[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6476
	Boolean : True

[General][1401/02/13 05:29: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 265 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9475

[General][1401/02/13 05:29: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 : 9475
	Boolean : True

[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6477
	Boolean : True

[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9475

[General][1401/02/13 05:29: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 : 9475
	Boolean : True

[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6478
	Boolean : True

[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9475

[General][1401/02/13 05:29: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 : 9475
	Boolean : True

[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6479
	Boolean : True

[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9475

[General][1401/02/13 05:29: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 : 9475
	Boolean : True

[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6480
	Boolean : True

[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9475

[General][1401/02/13 05:29: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 : 9475
	Boolean : True

[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6481
	Boolean : True

[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9476

[General][1401/02/13 05:29: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 : 9476
	Boolean : True

[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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 15 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6482
	Boolean : True

[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9477

[General][1401/02/13 05:29: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 : 9477
	Boolean : True

[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6483
	Boolean : True

[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9477

[General][1401/02/13 05:29: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 : 9477
	Boolean : True

[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6484
	Boolean : True

[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9477

[General][1401/02/13 05:29: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 : 9477
	Boolean : True

[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6485
	Boolean : True

[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9477

[General][1401/02/13 05:29: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 : 9477
	Boolean : True

[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6486
	Boolean : True

[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9477

[General][1401/02/13 05:29: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 : 9477
	Boolean : True

[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6487
	Boolean : True

[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9477

[General][1401/02/13 05:29: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 : 9477
	Boolean : True

[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6488
	Boolean : True

[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9477

[General][1401/02/13 05:29: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 : 9477
	Boolean : True

[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6489
	Boolean : True

[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:29: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 : 9478
	Boolean : True

[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:29: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:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6490
	Boolean : True

[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:29: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 : 9478
	Boolean : True

[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6491
	Boolean : True

[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:29: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 : 9478
	Boolean : True

[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:29: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 : 6492
	Boolean : True

[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:29: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 : 9478
	Boolean : True

[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6493
	Boolean : True

[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:29: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 : 9478
	Boolean : True

[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6494
	Boolean : True

[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:29: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 : 9478
	Boolean : True

[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6495
	Boolean : True

[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:29: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 : 9478
	Boolean : True

[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6496
	Boolean : True

[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:29: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 : 9478
	Boolean : True

[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6497
	Boolean : True

[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:29: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 : 9478
	Boolean : True

[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:29: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:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:29: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:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:29: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:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:29:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:29: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:29: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 : 6498
	Boolean : True

[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:30: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 : 9478
	Boolean : True

[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6499
	Boolean : True

[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9479

[General][1401/02/13 05:30: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 : 9479
	Boolean : True

[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6500
	Boolean : True

[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:30: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 : 9478
	Boolean : True

[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6501
	Boolean : True

[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:30: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 : 9478
	Boolean : True

[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6502
	Boolean : True

[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9478

[General][1401/02/13 05:30: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 : 9478
	Boolean : True

[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6503
	Boolean : True

[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9479

[General][1401/02/13 05:30: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 : 9479
	Boolean : True

[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:30: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:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6504
	Boolean : True

[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9479

[General][1401/02/13 05:30: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 : 9479
	Boolean : True

[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30: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:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30: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:30: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 : 6505
	Boolean : True

[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9479

[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9479
	Boolean : True

[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 6506
	Boolean : True

[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9479

[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9479
	Boolean : True

[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 6507
	Boolean : True

[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9479

[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9479
	Boolean : True

[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:30: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:30: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:30:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:30: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:30: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
