Repository navigation
[Master]-FA Posting Group is not updated in the Fixed Asset List after being changed on the Fixed Asset Card. - #13340
Conversation
Good Sense Reviewer - Round 1Recommendation: Accept with SuggestionsWhat this PR doesThe simple Fixed Asset Card edits the posting group on the depreciation book, while a customized Fixed Asset List column reads the Fixed Asset record. This change copies the validated book group into the card's source record so saving the card also updates the value used by the list. The existing book validation still runs before the copy, including the rules for changes after acquisition. The five functional page copies apply the same change; the RU page has formatting changes only. The reported existing-book mismatch is addressed, but the unconditional copy introduces a separate no-book inconsistency. Problem-solution fitFit: Strong The change targets the two different stored values behind the reported card/list mismatch without changing posting calculations. It needs a small guard to preserve the existing behavior when no depreciation book can be saved. SuggestionsS1 (🟠 Moderate): Skip master synchronization when no book exists Risk assessment and necessityRisk: The regression surface is the simple-card posting-group edit in AT, FR, IT, NA, and W1. The change does not add ledger writes, change amounts, or alter public signatures or schemas; the book's existing financial safeguards still run first. The no-book case above can leave the card and master-based list inconsistent. No tests change, and the existing direct-edit test checks only the book rather than both persisted values. No runtime tests were run, and the failed build checks have no established link to this change. Necessity: Without synchronization, permitted card edits leave the master-based list showing an old group even after refresh. Inspecting the depreciation book avoids relying on the stale list value, but changing the subclass is not a safe general workaround. The narrow synchronization fix is justified, with the no-book behavior preserved.
|
Good Sense Reviewer - Round 2Recommendation: AcceptWhat this PR doesThe simple Fixed Asset Card now copies a validated depreciation-book posting group to the Fixed Asset record, keeping a master-based list column in sync after a permitted edit. The latest change adds the missing nonblank Depreciation Book Code guard in all five functional page copies. This matches the book persistence condition, preserves the existing no-book behavior, and leaves the book validation and acquisition safeguards before synchronization. The only previous finding is addressed; no new defect was found in the incremental change. Status of previous suggestions
New observations (commits since round 1)None - see the status of previous suggestions above. Risk assessment and necessityRisk: The regression surface is posting-group edits on the simple Fixed Asset Card in AT, FR, IT, NA, and W1. The guard preserves the blank-book case while retaining synchronization for a selected book; it changes no amounts, ledger writes, schemas, or public signatures. The existing no-book page test explicitly expects the master group to remain blank, matching the guarded code. This was static review only; no builds or runtime tests were run. Necessity: Without synchronization, a permitted posting-group edit updates the depreciation book but leaves a list column based on the Fixed Asset record showing its previous value. The guard is needed to avoid creating a separate card/list mismatch when no depreciation book is selected. The scope is a narrow correction to the same edit path.
|
Fixes AB#656982