1. Richard Frantz
  2. PowerBuilder
  3. Wednesday, 17 November 2021 19:11 PM UTC

Has anyone built a loan amortization schedule using a datawindow similar to what Excel does? Or seen an article they can point me to?

Richard Frantz Accepted Answer Pending Moderation
  1. Thursday, 18 November 2021 15:13 PM UTC
  2. PowerBuilder
  3. # 1

I have to modify an invoice, with a monthly late penalty. The finance dept gave me a spreadsheet that looks like a reverse amortization schedule. (Amount owed goes up instead of down. ) Looking into the Excel formulas, it is monthly compounding interest.

The invoice is already done in a dw, it is the penalty concept that is new, I am asking in the hopes that I can just enhance what I already have.

Comment
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Thursday, 18 November 2021 06:46 AM UTC
  2. PowerBuilder
  3. # 2

Hi Richard,

Problem with datawindow is: You can access values in columns from previous row but not from computed fields. But loan amortization schedule calculation needs to access calculated values from previous row.

If you don't want to do coding outside the datawindow you can only use one single row with a very large detail band for the whole schedule. You need computed fields for every payment period in this single row. This is very inflexible because you have to define a maximum number of periods at design time. And you will get problems to print the schedule.

So the best way is to do the calculation outside the datawindow and use datawindow only to show the result.

HTH,

René

 

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Thursday, 18 November 2021 04:07 AM UTC
  2. PowerBuilder
  3. # 3

Richard, can you elaborate how you envision this might work?

The DataWindow is a terrific tool for data entry and reporting, and even though it has some limited computational capabilities, it is not a spreadsheet.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.