S++Business systems language
DEMO SOURCE · SPP / APP / PHYRead the book

cboddeposit-scene-previewInterestProduct.spp

cboddeposit/calculation/cboddeposit-scene-previewInterestProduct.spp

Download original file · Bank deposit source contents

1domain cboddeposit;23Scenario serial previewInterestProduct(4    BankDate start,5    BankDate end,6    InterestCalendar,7    InterestPeriod,8    InterestProduct9) {10    checkBankDate(start);11    checkBankDate(end);12    decodeBankDate(start);13    decodeBankDate(end);14    checkBankDays(start, end, InterestCalendar);15    calculateBankDays(start, end, InterestCalendar, InterestPeriod);16    checkInterestPeriod;17    calculateInterestProduct;18}