Skip to content

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

  1. CreateSqlQuery("call WCIS_DBA.PK80010_LEGAL_COLLECTIONS.APPLYPAYMENTS(:inSeqNum, :pmt_date)") with ExecuteUpdate().
  2. SQL: SQL-053 (write).
  3. Rule: SDN-BR-010.
  4. 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])

Sources

  • Data/SAIF.Data.NHibernate/Repositories/CollectionsRepository.cs