-
Type:
Story
-
Status: Closed (View Workflow)
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Sprint:2022.R4 New Features Sprint 3
-
SCRUM Team:Brotherhood of Mutants
-
Story Points:5
-
Work Type Classification:Sustaining
Story
As a system, I would like a new table for rebank transactions so that constraints can be applied to the previous table where rebank transactions were stored.
Details
This story is a result of the research performed in CFAMX-20076. Though that research, the following changes were proposed:
- Design a new table for tbRebankTransaction that allows us to link to tbBankingTransaction (have a look at tbTransactionCashCount).
- Update the above affected areas (see below) to look at this new source of Rebank transactions.
- Create a data migration script to add existing rebank transactions into this new table and to delete the existing Rebank records in tbBankingTransaction.
- Enforce a non-nullable unique constraint on the TransactionCashDepositID column in tbBankingTransaction
- Remove the table lock from dbo.MXC_UpdateBankingTransactions.sql
MERGE tbBankingTransaction with (tablockx) As [Target]
Affected areas:
Mx.Financial.Services
- TransactionCashCountCommandService.SaveOrUpdateChangeFundReceivedDeposits
- BankingDepositCommandService.GetSmartAndNonSmartRecords
- BankingCloseRepository.GetRebank
- BankingDepositRepository.SelectBankingTransactionsByBusinessDay
- FinalizeDayController.GetCashierSummary
SQL
- qryMMSBanking_DailySummary
- qryMMSBankingClose_SelectAndUpdate
- qryMMSBankingTransaction_GetChangeFundRebank
- qryMMSBankingTransaction_Select
- qryMMSBankingTransaction_SelectForCalendarDay
AC
The following areas of the site should continue to function as expected and with the correct data before and after the change:
- DailySummary report
- BankingClose report (Deposit Summary)
- DailySales report
- Cashier Settlement
- DailySummary on Finalize Day
- Cashier Summary report
- Daily Deposits
- Change Fund Deposit
- causes
-
CFAMX-21166 MXC Deposit Page - Requested Operation Failed NHibernate Error
-
- Done
-
1.
|
design a new table for tbRebankTransaction |
![]() |
Done | Adrian Brink |
|
||||||||
2.
|
update data access layer |
![]() |
Done | Adrian Brink |
|
||||||||
3.
|
update business logic in code |
![]() |
Done | Adrian Brink |
|
||||||||
4.
|
update business logic in sql |
![]() |
Done | Adrian Brink |
|
||||||||
5.
|
create a data migration script |
![]() |
Done | Adrian Brink |
|
||||||||
6.
|
add unique constraint to tbBankingTransaction |
![]() |
Done | Adrian Brink |
|
||||||||
7.
|
Dev Testing |
![]() |
Done | Adrian Brink |
|
||||||||
8.
|
Functional Review with QA |
![]() |
Done | Adrian Brink |
|
||||||||
9.
|
DIT |
![]() |
Done | Adrian Brink |
|
||||||||
10.
|
Deploy |
![]() |
Done | Gareth Leibbrandt (Inactive) |
|
||||||||
11.
|
Create Test cases |
![]() |
Done | Gareth Leibbrandt (Inactive) |
|
||||||||
12.
|
Review Test Scripts |
![]() |
Done | Unassigned |
|
||||||||
13.
|
Execute Test Cases |
![]() |
Done | Gareth Leibbrandt (Inactive) |
|