From 184a9e3ffebc302c924affa71ab36977e728b8cb Mon Sep 17 00:00:00 2001 From: Kristof Jozsa Date: Wed, 3 Apr 2024 16:57:14 +0200 Subject: [PATCH] fix CA #2 --- .../workers/bookamount/BookOnConversionAccountInAmsWorker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/mifos/connector/ams/zeebe/workers/bookamount/BookOnConversionAccountInAmsWorker.java b/src/main/java/org/mifos/connector/ams/zeebe/workers/bookamount/BookOnConversionAccountInAmsWorker.java index 00cc3411..2543eba5 100644 --- a/src/main/java/org/mifos/connector/ams/zeebe/workers/bookamount/BookOnConversionAccountInAmsWorker.java +++ b/src/main/java/org/mifos/connector/ams/zeebe/workers/bookamount/BookOnConversionAccountInAmsWorker.java @@ -165,7 +165,7 @@ private Void bookOnConversionAccountInAms(String originalPain001, String creditorIban = creditTransferTransaction.getCreditorAccount().getIdentification().getIban(); String creditorName = creditor.getName(); List items = new ArrayList<>(); - Contact4 partnerAccountContactDetails = pain001.getDocument().getPaymentInformation().get(0).getDebtor().getContactDetails(); + Contact4 partnerAccountContactDetails = pain001.getDocument().getPaymentInformation().get(0).getCreditTransferTransactionInformation().get(0).getCreditor().getContactDetails(); // STEP 1a - batch: withdraw amount String withdrawAmountOperation = "bookOnConversionAccountInAms.ConversionAccount.WithdrawTransactionAmount";