[MAIN]-Bug 644801-IRS Reporting Period - Copy Setup process will copy the 1099 Adjustments as part of the process of copying from one IRS Reporting Period to a new Period setup. - #9868
Conversation
Agentic PR Review - Round 1Recommendation: Request ChangesWhat this PR doesThis PR changes The amount carryover is fixed, but the target period still gets an adjustment record. That matters because adjustment records are not only storage for an amount: the vendor/form-box calculation code creates a buffer row when an adjustment record exists, even if the amount is zero. So the fix still copies the adjustment artifact into the new period instead of leaving the new period without adjustments. SuggestionsS1 - Copied zero adjustments still affect target period Risk assessment and necessityRisk: This area affects US 1099 reporting amounts. Resetting the amount removes the direct financial carryover, but copied zero adjustment records can still change what the target period shows in vendor/form-box calculations and adjustment pages. Necessity: The change is needed because Copy Setup should not bring prior-period 1099 adjustment amounts into a new reporting period. The linked ADO item is a Bug, but there was no
|
What & why
Issue: Copy Setup was incorrectly carrying 1099 adjustment amounts from source period to target period.
Cause: The copy logic duplicated the full adjustment record, including the Amount field, instead of resetting it for the new period.
Linked work
AB#644801
Fixes AB#644801
Solution: Update copy logic to explicitly set Amount = 0 before insert in target period, and add an automated test to validate this behavior during setup copy.
How I validated this
What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)
Risk & compatibility