[Master] - Bug 647253: [WHT] Inconsistency with the Payments - #10545
[Master] - Bug 647253: [WHT] Inconsistency with the Payments#10545ViditGupta1277 wants to merge 1 commit into
Conversation
Agentic PR Review - Round 1Recommendation: Request ChangesWhat this PR doesThis PR changes WHT payment posting so a missing Purchases general journal template raises a new error after the WHT entry is created. The bug evidence expects the payment to post with balanced WHT G/L entries and correct unrealized amounts for a partial vendor payment. The current change does not create the missing WHT posting buffer in the setup that hit the bug; it stops posting with a setup error instead. That leaves the financial scenario unresolved. SuggestionsS1 - Do not turn posting into setup error S2 - Add regression test for payment path Risk assessment and necessityRisk: This is financial posting code. If the condition is wrong, WHT amounts can stay unposted or users can get a new setup error for a valid payment journal instead of a balanced posting. No BaseApp event publisher is involved. Necessity: The bug is valid and important because it blocks or unbalances WHT vendor payment posting. The scope is small, but it must fix the posting buffer condition rather than replace the imbalance with a new error.
|
|
|
|
Fixes AB#647253