adamsaghy commented on code in PR #4623:
URL: https://github.com/apache/fineract/pull/4623#discussion_r2123031603


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/shareaccounts/service/ShareAccountSchedularServiceImpl.java:
##########
@@ -44,7 +45,7 @@ public void postDividend(final Long dividendDetailId, final 
Long savingsId) {
                 .orElseThrow();
         final SavingsAccount savingsAccount = 
this.savingsAccountAssembler.assembleFrom(savingsId, false);
         SavingsAccountTransaction savingsAccountTransaction = 
this.savingsAccountDomainService.handleDividendPayout(savingsAccount,
-                DateUtils.getBusinessLocalDate(), 
shareAccountDividendDetails.getAmount(), false);
+                DateUtils.getBusinessLocalDate(), 
shareAccountDividendDetails.getAmount(), false, ExternalId.empty());

Review Comment:
   We should check whether enable-auto-generated-external-id is true or false...
   
   if it is true, we need to generate automatically external id.



-- 
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