Open AureliaKhorsand opened 9 months ago
@GreggMoreland can you take first crack at the ACs here? Related tickets for implemented itemization functionality include: #591, #651, #804, #1035, and #1223 if that's useful.
@AureliaKhorsand I have multiple questions:
@GreggMoreland answers below. FEC/Ryan confirmed the itemization logic and assumptions from the 4/9/24 requirements session on Slack today.
@AureliaKhorsand Please review the AC's. I wanted to account for each possibly combination.
@GreggMoreland I think we are missing a few more scenarios here? If there is a way we can consolidate this in the ACs that may help, and this list can be used for testing. Here are the three default statuses and possible actions users can take on them and what should happen. Let me know if I'm missing some.
1. Itemized Tier 1 with itemized tier 2 and tier 3
a. If user unitemizes Tier 1, tier 2 and 3 would become unitemized.
b. If user unitemizes Tier 2, only tier 3 would become unitemized.
c. If user unitemizes Tier 3, only tier 3 would become unitemized.
2. Unitemized Tier 1 with unitemized tier 2 and tier 3
a. If user itemizes Tier 1, tier 2 and 3 would REMAIN unitemized
b. If user itemizes Tier 2, tier 1 would be itemized and tier 3 would REMAIN unitemized.
c. If user itemizes Tier 3, tier 1 and 2 would become itemized.
3. Itemized Tier 1 with unitemized tier 2 and tier 3 (this is now allowed with the updated logic)
a. If user unitemizes Tier 1, tier 2 and 3 remain unitemized.
b. If user itemizes tier 2, no change to tier 1 and tier 3.
c. If user itemizes tier 3, tier 2 would become unitemized, no change to tier 1.
@AureliaKhorsand Let me know if this is better
@AureliaKhorsand @GreggMoreland Is the acceptance criteria listed at the top of the ticket the correct criteria? Want to confirm before moving forward.
If it is the correct criteria, I think I see something that needs to be modified. 2c. Should that say "...tier 2 (unitemized) and tier 1 (itemized) remain unchanged"?
@JonellaCulmer @AureliaKhorsand I think 2c was incorrect. Since the tier above the one being itemized is supposed to be itemized, then if tier 1 is already itemized and you itemize tier 3, then tier 2 should be itemized to follow what was done to tier 3.
@GreggMoreland Thank you! All good.
This ticket is ready for implementation - waiting on approval to work on this and create a separate ticket to improve user experience on messaging.
David Heitzer commented: [~accountid:61b0b42cd5986c006a9e1c94] [~accountid:712020:3243085d-540a-4657-ad08-d891487882d0] I wasn’t in refinement so apologies if either of these were answered. I’ve been analyzing this ticket and I just wanted to clarify the following{color:#ff991f} AC snippet{color}:
{color:#ff991f}Itemized Tier 1 with itemized tier 2 and tier 3{color}
I was also wondering, about the following:
{color:#ff991f}Essentially, the difference in current functionality is that we no longer force itemize a Tier 2 or 3 transaction if the transaction above it is itemized.{color}
It seems that another difference is that we will also now force itemize Tier 1/2 transactions if the transaction below it is itemized. Would this be correct?
Thanks!
David Heitzer commented: spoke with Aurelia this morning and she was able to answer my questions below.
Business Reason
Our current implementation is that transaction "families" must share itemization logic. If one is itemized, all are itemized, and if one is unitemized, all are unitemized. This is incorrect and must be updated since we need to allow for an unitemized Tier 2/3 transaction under an itemized Tier 1/2. The new rule is as follows:
Acceptance Criteria
Given an existing itemized Tier 1 transaction When there are associated Tier 2 and (where possible) Tier 3 transactions Then given the starting scenario:
— Given an existing unitemized Tier 1 transaction in the Transactions table of a report When there are existing Tier 2 and (where possible) Tier 3 transactions Then given the starting scenario:
*Note: This applies if the transaction is (un)itemized due to user-action/forcing or system/by default.
**Note: If a user force itemizes/unitemizes a transaction, only that one and it’s direct “descendants” will be affected. No “siblings” or “nieces and nephews”.
QA Notes
With the above implementation, there should never be a scenario where there is an itemized Tier 2 or 3 transaction that has an unitemized parent.
Essentially, the difference in current functionality is that we no longer force itemize a Tier 2 or 3 transaction if the transaction above it is itemized.
DEV Notes
Design
Ryan suggested that we may want to inform the user that something they may not expect is happening in the following scenario: If a transaction family is unitemized by default and a Tier 2/3 is manually itemized, the Tier 1 will also be itemized so there are no "orphan" transactions.
See full ticket and images here: FECFILE-513