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


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/domain/DepositAccountAssembler.java:
##########
@@ -323,10 +324,10 @@ public SavingsAccount assembleFrom(final JsonCommand 
command, final AppUser subm
                     prodTermAndPreClosure);
 
             FixedDepositAccount fdAccount = 
FixedDepositAccount.createNewApplicationForSubmittal(client, group, product, 
fieldOfficer,
-                    accountNo, externalId, accountType, submittedOnDate, 
submittedBy, interestRate, interestCompoundingPeriodType,
-                    interestPostingPeriodType, interestCalculationType, 
interestCalculationDaysInYearType, minRequiredOpeningBalance,
-                    lockinPeriodFrequency, lockinPeriodFrequencyType, 
iswithdrawalFeeApplicableForTransfer, charges,
-                    accountTermAndPreClosure, accountChart, withHoldTax);
+                    accountNo, ExternalIdFactory.produce(externalId), 
accountType, submittedOnDate, submittedBy, interestRate,

Review Comment:
   Here we should generate one if nothing was provided: 
`ExternalIdFactory.create(...)`



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