AshharAhmadKhan commented on PR #5590:
URL: https://github.com/apache/fineract/pull/5590#issuecomment-4055028942

   @adamsaghy thanks for the review!
   
   For the test I switched it to CASH_BASED accounting and added all three 
checks you mentioned — transaction marked as reversed, totalInterestPosted 
going back to zero, and the reversal journal entries (opposite signs on the 
same date).
   
   For the feign point I had a look at the generated FixedDepositAccountApi and 
it only exposes handleCommands4 which hits the account level endpoint and takes 
a single accountId. The undo transaction endpoint needs both accountId and 
transactionId so there is no matching method in the generated client. I also 
noticed RecurringDepositAccountHelper.undoTransactionForRecurringDeposit 
follows the same raw HTTP pattern for the same reason, so this is consistent 
with the existing deposit helper approach. I have added a comment in the helper 
explaining the gap. Happy to extend the generated client if you would prefer 
that approach though.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to