S++Core systems, human-reviewable
DEMO SOURCE · SPP / APP / PHYRead the book

bankdeposit-scene-previewCashReversal.spp

bankdeposit/reversal/bankdeposit-scene-previewCashReversal.spp

Download original file · Bank deposit source contents

1domain bankdeposit;23Scenario serial previewCashReversal(4    DepositAccount,5    CashSettlementAccount,6    InterestIncomeAccount,7    CollectionInterestIncomeAccount,8    PrincipalRecoveryAccount,9    AccountEligibility,10    CashAccountControl,11    CashDepositAgreement,12    CashReversalAgreement,13    DepositReversalCapacity,14    DepositAccrualState,15    CashReversalMetadataPlan,16    DepositOperatorFacts,17    CashChannel,18    DepositPostingLine[],19    CashReversalPostingLine[],20    DepositPostingTotals21) {22    parallel {23        findDepositAccount;24        findCashSettlementAccount;25        findInterestIncomeAccount;26        findCollectionInterestIncomeAccount;27        findPrincipalRecoveryAccount;28        findAccountEligibility;29        findCashDepositAgreement;30        findDepositAccrualState;31    }32    identify(depositAccount);33    identify(cashSettlementAccount);34    identify(interestIncomeAccount);35    identify(collectionInterestIncomeAccount);36    identify(principalRecoveryAccount);37    identify(accountEligibility);38    identify(cashDepositAgreement);39    identify(depositAccrualState);40    checkAccountParticipants;41    checkOriginalDepositAccount;42    checkOriginalSettlementAccounts;43    checkBankDepositCashReversalPath;44    checkCoreDepositReversalEligibility;45    checkOriginalCashMovement;46    listDepositPostings;47    checkOriginalDepositPostings;48    checkCashReversalCapacity;49    checkCashReversalFacts;50    calculateBankDepositCashReversalMetadata;51    prepareCashReversalAgreement;52    prepareCashReversalPostings;53    checkDepositPostings;54}