Skip to content

FINERACT-2730: add loan and savings transaction search - #6211

Merged
IOhacker merged 1 commit into
apache:developfrom
AnvayKharb:fix/FINERACT-2730-transaction-search
Aug 6, 2026
Merged

FINERACT-2730: add loan and savings transaction search#6211
IOhacker merged 1 commit into
apache:developfrom
AnvayKharb:fix/FINERACT-2730-transaction-search

Conversation

@AnvayKharb

Copy link
Copy Markdown
Contributor

Description

This PR extends the global search functionality to support searching loan repayment and savings transactions.

Users can now search transactions using existing transaction identifiers without changing the current search endpoint or affecting existing search behavior.

Supported searches

Loan repayments

  • Transaction ID
  • External ID

Savings deposits and withdrawals

  • Transaction ID
  • External ID
  • Reference Number (refNo)

Changes

  • Added loanTransactions and savingsTransactions search resources.
  • Extended the global search SQL to return matching loan repayment and savings transaction results.
  • Added transaction metadata to the search response, including transaction ID, transaction type, account ID, account number, account type, external ID, and reference number where applicable.
  • Preserved backward compatibility by adding nullable response fields without changing the existing API contract.
  • Added integration tests covering transaction searches by transaction ID, external ID, and reference number.

Related Issue

FINERACT-2730

Screenshots

N/A

Checklist

  • If you have multiple commits, they have been squashed into a single commit.
  • Read and understood the contribution guidelines.
  • Added or updated tests for the implemented functionality.
  • Verified that existing search functionality continues to work.

@AnvayKharb
AnvayKharb force-pushed the fix/FINERACT-2730-transaction-search branch from 179742a to e4305c4 Compare August 1, 2026 19:22
@AnvayKharb AnvayKharb changed the title fix(FINERACT-2730): add loan and savings transaction search FINERACT-2730: add loan and savings transaction search Aug 1, 2026
@AnvayKharb
AnvayKharb force-pushed the fix/FINERACT-2730-transaction-search branch from e4305c4 to 30895a4 Compare August 1, 2026 19:31
@AnvayKharb
AnvayKharb force-pushed the fix/FINERACT-2730-transaction-search branch from 30895a4 to 6e50790 Compare August 3, 2026 16:32
@AnvayKharb
AnvayKharb requested a review from adamsaghy August 3, 2026 16:41

@IOhacker IOhacker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@IOhacker
IOhacker merged commit 43a21bc into apache:develop Aug 6, 2026
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants