mojaloop / project

Repo to track product development issues for the Mojaloop project.
Other
25 stars 15 forks source link

DFSP Settlement Statement Report issue (transaction not being included in report) #3923

Open zinzinnyohlaing-tw opened 6 months ago

zinzinnyohlaing-tw commented 6 months ago

issue detail is in the comment

PR:[https://github.com/mojaloop/reporting-bc/pull/37] update include in: mojaloop/reporting-bc-participants-reporting-svc version: 0.3.16

pthandar commented 6 months ago

Let me raise an issue that can't see the settlement transaction in the report. Ko @SithuKyaw-Thitsaworks

I have settled the matrix ID : 5c69e94b-3120-45f3-adc0-a49207c897af Amount : 12 MXN From Fsp : demowalletTest To Fsp : demomfiTest However, this transaction was not included in the report. That's why the balance shown in the report is not the same as the balance of FSPs's balance. Please check the below SS for your reference.

image.png

Report's Balance

image.png

FSP's balance

image.png

I also don't see the log for that transaction in the participant's fund movement.

image.png

Log from Lens

image.png

FYI @myo-min-htet @TW-Ei-Nghon-Phoo @zinzinnyohlaing-tw @YminOo @PhyuSinMyat8

pthandar commented 6 months ago

As per Specification , Account Number is "DFSP Liquidity account number opened in the settlement bank".

image.png

But in the report , the Account number is wrongly showing as 6b45e38d-f92f-487e-976b-5fd04023dd57

image.png

The DFSP Liquidity account number opened in the settlement bank is 123

image.png

Ko @kyaw-soe-tw Could you please check for it?

FYI : @myo-min-htet @SithuKyaw-Thitsaworks @TW-Ei-Nghon-Phoo @zinzinnyohlaing-tw @YminOo @PhyuSinMyat8

JulieG19 commented 5 months ago

As discussed in sprint review, we are closing this ticket. If a ticket is ready to be picked by QA it will be moved to the appropriate column.

pthandar commented 4 months ago

I have made one deposit fund transaction and one withdrawal transaction. But the report displays only deposit transaction and doesn't see withdrawal transaction. Please check the below SS. Fund movement page

image.png

Report

image.png

Could you please check ko @SithuKyaw-Thitsaworks ?

FYI @TW-Ei-Nghon-Phoo @zinzinnyohlaing-tw @PhyuSinMyat8

PhyuSinMyat8 commented 4 months ago

Testing Result

QA passed

Note: All of the criteria passed for DFSP Settlement Statement Report but I found another issue in settlement account balance. Although the settlement balance amount should be equal to the balance amount from report, they were different in some dfsp and the settlement balance amount from participant page was a little higher than the actual amount. The balance amount from report was correct.

Summary

Specification

Please refer to the screenshots below for more information.

Initial amount - 0 SGD

1.png

After a 100,000 SGD deposit to that account

3.png 4.png

After a 10 SGD withdrawal to that account

5.png 6.png 7.png

After 10 SGD were transferred and settled,

9.png 10.png

After liquidity adjustment, 30 debit

11.png 12.png

"MATRIX_SETTLED_AUTOMATIC_ADJUSTMENT_CREDIT" and "OPERATOR_LIQUIDITY_ADJUSTMENT_CREDIT"

13.png