[ 
https://issues.apache.org/jira/browse/FINERACT-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751678#comment-17751678
 ] 

Peter Santa commented on FINERACT-1939:
---------------------------------------

Márta Jankovics 
4 days ago
Edited

Fineract did not send any information so far about the credit/debit type of the 
transaction. 
The transaction type itself was sent, example:
"transactionType": {
        "id": 20,
        "code": "savingsAccountTransactionType.onHold",
        "value": "Amount on hold",
        "deposit": false,
        "dividendPayout": false,
        "withdrawal": false,
        "interestPosting": false,
        "feeDeduction": false,
        "initiateTransfer": false,
        "approveTransfer": false,
        "withdrawTransfer": false,
        "rejectTransfer": false,
        "overdraftInterest": false,
        "writtenoff": false,
        "overdraftFee": true,
        "withholdTax": false,
        "escheat": false,
        "amountHold": true,
        "amountRelease": false
    },

New parameter in the transaction response: entryType
Example:
    ...
    "entryType": "CREDIT",
    "accountId": 1,
    "accountNo": "000000001",
    ...

values: CREDIT/DEBIT

onHold transaction is DEBIT, reversel onHold is DEBIT, release onHold (= onHold 
reversal) is CREDIT

@Peter Santa please create a webapp story to implement the use of the new 
entryType.

> Hold Amount - should be debit
> -----------------------------
>
>                 Key: FINERACT-1939
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1939
>             Project: Apache Fineract
>          Issue Type: Bug
>          Components: Savings
>            Reporter: Peter Santa
>            Priority: Major
>              Labels: BeanSalad
>         Attachments: Screenshot 2023-06-09 at 11.04.40.png
>
>
> h1. Steps to reproduce
> Perform a holdAmount on a savings account, that have sufficient funds for 
> that.
> h1. Expected Result
> The transaction is shown as Debit
> h1. Actual Result
> !Screenshot 2023-06-09 at 11.04.40.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to