Repository navigation
Hide irrelevant VAT fields in North American setup cards and templates - #13177
Jatin Kumar (Explorer986) wants to merge 2 commits into
Conversation
Good Sense Reviewer - Round 1Recommendation: Accept with SuggestionsWhat this PR doesThis change hides VAT posting groups on item, customer, and vendor templates and the G/L Account Card according to The changed pages use the same General Ledger Setup visibility pattern as the corresponding master cards, and the tests cover both VAT states. The main scenarios are handled correctly, but the equivalent Resource Card remains inconsistent. Problem-solution fitFit: Partial The confirmed pages are fixed and the stored VAT values remain unchanged. The requested audit is incomplete because Resource Card still exposes its VAT posting field when VAT is disabled. SuggestionsS1 (🟠 Moderate): Resource Card still exposes VAT setup Risk assessment and necessityRisk: The implementation changes UI visibility only. It does not modify stored values, posting logic, schema, public APIs, or events. Regression risk is limited to field discoverability, but Resource Card remains inconsistent in the same US sales-tax setup. Necessity: The change is needed to avoid irrelevant VAT configuration and a misleading mandatory field. The scope is targeted, but it should include Resource Card to complete the master-data audit.
|
Good Sense Reviewer - Round 2Recommendation: AcceptWhat this PR doesThe new commit adds the same Status of previous suggestions
New observations (commits since round 1)None - the new commit addresses the previous suggestion without introducing another issue. Risk assessment and necessityRisk: The change only controls page-field visibility. It does not change stored values, posting logic, schema, public APIs, or events. The added tests cover the Resource Card with VAT enabled and disabled and verify that the stored VAT posting group is preserved. Necessity: This follow-up completes the equivalent master-data page audit and keeps the Resource Card consistent with the other North American cards.
|
b10f53d to
55ee497
Compare
Good Sense Reviewer - Round 3Recommendation: AcceptWhat this PR doesThe current change hides VAT-only setup fields when VAT is disabled, keeps sales-tax fields available, and aligns VAT pricing fields with the corresponding master cards. The latest commit only updates the price-visibility test to open, verify, and close each template page in turn; it does not change production behavior and improves test isolation. Status of previous suggestions
New observations (commits since round 2)None - the latest commit only changes test-page sequencing and introduces no new issue. Risk assessment and necessityRisk: The production change only controls page-field visibility. It does not change stored values, posting logic, schema, public APIs, or events. The latest test-only adjustment reduces overlap between open test pages without changing the scenarios being verified. Necessity: The change is needed to avoid irrelevant VAT setup in sales-tax companies. The current scope covers the reported pages and equivalent template and master-data pages, while preserving the sales-tax fields.
|
What & why
Hides VAT posting fields on Item Template, G/L Account Card, and Customer/Vendor templates when VAT in Use is off on General Ledger Setup. Also aligns template VAT pricing fields with their master cards. Sales-tax fields stay available.
Linked work
Fixes AB#651351
How I validated this
Risk & compatibility
NA-only visibility changes. No data, posting, schema, or W1 behavior changes.