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

cboddeposit-scene-readDepositAccount.spp

cboddeposit/account/cboddeposit-scene-readDepositAccount.spp

Download original file · Bank deposit source contents

1domain cboddeposit;23Scenario serial readDepositAccount(4    DepositAccount,5    AccountEligibility,6    DepositAccrualState,7    CashSettlementAccount,8    InterestIncomeAccount,9    CollectionInterestIncomeAccount,10    PrincipalRecoveryAccount11) {12    parallel {13        findDepositAccount;14        findAccountEligibility;15        findDepositAccrualState;16        findCashSettlementAccount;17        findInterestIncomeAccount;18        findCollectionInterestIncomeAccount;19        findPrincipalRecoveryAccount;20    }21    identify(DepositAccount);22    identify(AccountEligibility);23    identify(DepositAccrualState);24    identify(CashSettlementAccount);25    identify(InterestIncomeAccount);26    identify(CollectionInterestIncomeAccount);27    identify(PrincipalRecoveryAccount);28    checkAccountParticipants;29}