Collections payment application¶
Collections payment application is implemented by CollectionsRepository.ApplyPayments and is documented as OP-SDN-04 in the Stage 1 analysis.
| Field | Value |
|---|---|
| Operation ID | OP-SDN-04 |
| Trigger | See steps below |
| Primary components | CollectionsRepository.ApplyPayments |
Steps¶
CreateSqlQuery("call WCIS_DBA.PK80010_LEGAL_COLLECTIONS.APPLYPAYMENTS(:inSeqNum, :pmt_date)")withExecuteUpdate().- SQL: SQL-053 (write).
- Rule: SDN-BR-010.
- The equivalent named query SQL-052 is defined but not used.
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start(["Collections payment application"]) --> S1["`CollectionsRepository.ApplyPayments`"]
S1 --> S2{"Rules satisfied?"}
S2 -->|Yes| EndOk([Result returned])
S2 -->|No| EndErr([Exception / empty result])
Related documentation¶
Sources¶
Data/SAIF.Data.NHibernate/Repositories/CollectionsRepository.cs