ajency / cashflow-issue-tracker

Issue Tracker for issues
0 stars 1 forks source link

BUG - Deleted Transaction type: Journal Entry Credit, transactions of type " Journal Entry Debit " also got deleted. #844

Closed HazelColaco19 closed 4 years ago

HazelColaco19 commented 4 years ago

There were 5 transactions in " Credit " and 3 in " Debit ".

In screenshot you can see " 8 " transactions being deleted when delete result shouldv been 5

image

Json:

{ "source": "tally", "transactionType" : "Journal Entry CREDIT", "startDate": "2019-01-01", "endDate": "2021-01-01" }

Message:

{ "message": "Deleted 8 transactions" }

Expected:

Debit and credit type delete should be handled separately? Please confirm @nutank

legred21 commented 4 years ago

Both will get deleted. they cannot exist alone

HazelColaco19 commented 4 years ago

Ok. Closing the ticket.