When adding a loan to a client:
Attempted to divide by zero.\n\n at System.Decimal.FCallDivide(Decimal& result, Decimal d1, Decimal d2)
at Octopus.CoreDomain.Contracts.Loans.CalculateInstallments.Flat.FlatStrategy.CalculateInstallments(Boolean changeDate)
at Octopus.CoreDomain.Contracts.Loans.Loan.CalculateInstallments(Boolean pChangeDate)
at Octopus.CoreDomain.Contracts.Loans.Loan..ctor(LoanProduct pAckage, OCurrency pAmount, Decimal pInterestRate, Int32 pNbOfInstallments, Int32 pGracePeriod, DateTime pStartDate, DateTime pFirstInstallmentDate, User pUser, ApplicationSettings pGeneralSettings, NonWorkingDateSingleton pNwds, ProvisionTable pPt, ChartOfAccounts pChartOfAccounts)
at Octopus.GUI.Clients.ClientForm.CreateLoan()
at Octopus.GUI.Clients.ClientForm.CreateAndSetContract()
at Octopus.GUI.Clients.ClientForm.Preview()
Anonymous