keithwoodlock and Sander van der Heyden
I seems to me that the original description and comment following immediately after might be speaking about slightly different issues (or maybe I understand notes differently..as in the field used in https://demo.openmf.org/api-docs/apiLive.htm#loans_transaction_repayment)
The description seems to be asking for the note linked to a Loan transaction or a Savings transaction (the note is not linked to the payment details but a loan/savings transactions. Payment details are also linked to the loan/savings transactions as Keith points out...)
While we could write a custom report, you could also simply call the journal entry API, it would return the entry type (loan/savings) and the transaction Id, using these you could then call the Loan transactions or Savings transactions API https://demo.openmf.org/api-docs/apiLive.htm#loans_transaction_retrieve to retrieve complete details of the transaction (including payment details and note linked to transaction if any).
However, it does seem that the loan transaction read API returns the payment Data, but not the note linked to transaction (though it is saved while creating/updating a transaction and is linked to a transaction). So we would have to simply update Loan Transactions Read service to return the same....
Is this what you are looking for Sander van der Heyden ?
|