-
Notifications
You must be signed in to change notification settings - Fork 413
Test-Code-Reviewer-Comments #9607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -789,10 +789,6 @@ table 17 "G/L Entry" | |
| Caption = 'Period Trans. No.'; | ||
| DataClassification = SystemMetadata; | ||
| } | ||
| field(7000000; "Bill No."; Code[20]) | ||
| { | ||
| Caption = 'Bill No.'; | ||
| } | ||
| } | ||
|
|
||
| keys | ||
|
|
@@ -844,7 +840,7 @@ table 17 "G/L Entry" | |
| key(Key12; "VAT Bus. Posting Group", "VAT Prod. Posting Group") | ||
| { | ||
| } | ||
| key(Key13; "G/L Account No.", "Document No.", "Bill No.") | ||
| key(Key13; "G/L Account No.", "Document No.") | ||
| { | ||
| SumIndexFields = Amount, "Additional-Currency Amount"; | ||
| } | ||
|
|
@@ -1060,7 +1056,6 @@ table 17 "G/L Entry" | |
| "No. Series" := GenJnlLine."Posting No. Series"; | ||
| "IC Partner Code" := GenJnlLine."IC Partner Code"; | ||
| "Prod. Order No." := GenJnlLine."Prod. Order No."; | ||
| "Bill No." := GenJnlLine."Bill No."; | ||
|
|
||
| OnAfterCopyGLEntryFromGenJnlLine(Rec, GenJnlLine); | ||
|
Comment on lines
1057
to
1060
|
||
| end; | ||
|
|
@@ -1158,6 +1153,8 @@ table 17 "G/L Entry" | |
| /// </summary> | ||
| /// <param name="DeferralPostBuffer">Deferral posting buffer to copy from</param> | ||
| procedure CopyFromDeferralPostBuffer(DeferralPostBuffer: Record "Deferral Posting Buffer") | ||
| var | ||
| Test: Boolean; | ||
| begin | ||
| "System-Created Entry" := DeferralPostBuffer."System-Created Entry"; | ||
| "Gen. Posting Type" := DeferralPostBuffer."Gen. Posting Type"; | ||
|
|
@@ -1170,7 +1167,7 @@ table 17 "G/L Entry" | |
| "Tax Group Code" := DeferralPostBuffer."Tax Group Code"; | ||
| "Use Tax" := DeferralPostBuffer."Use Tax"; | ||
|
|
||
| OnAfterCopyFromDeferralPostBuffer(Rec, DeferralPostBuffer); | ||
| OnAfterCopyFromDeferralPostBuffer(Rec, DeferralPostBuffer, Test); | ||
| end; | ||
|
Comment on lines
1155
to
1171
|
||
|
|
||
| /// <summary> | ||
|
|
@@ -1218,8 +1215,9 @@ table 17 "G/L Entry" | |
| /// </summary> | ||
| /// <param name="GLEntry">G/L entry being updated</param> | ||
| /// <param name="DeferralPostingBuffer">Source deferral posting buffer</param> | ||
| /// <param name="Test">Test flag</param> | ||
| [IntegrationEvent(false, false)] | ||
| local procedure OnAfterCopyFromDeferralPostBuffer(var GLEntry: Record "G/L Entry"; DeferralPostingBuffer: Record "Deferral Posting Buffer") | ||
| local procedure OnAfterCopyFromDeferralPostBuffer(var GLEntry: Record "G/L Entry"; DeferralPostingBuffer: Record "Deferral Posting Buffer"; Test: Boolean) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CopyFromDeferralPostBuffer declares a local variable Agent judgement — not directly backed by a BCQuality knowledge article. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.12.4 |
||
| begin | ||
| end; | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // ------------------------------------------------------------------------------------------------ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. See License.txt in the project root for license information. | ||
| // ------------------------------------------------------------------------------------------------ | ||
| namespace Microsoft.Finance.GeneralLedger.Ledger; | ||
|
|
||
| tableextension 7000017 "G/L Entry ES" extends "G/L Entry" | ||
| { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Bill No." is removed from table 17 "G/L Entry" and the line that populated it during posting ( Agent judgement — not directly backed by a BCQuality knowledge article. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.12.4 |
||
| fields | ||
| { | ||
| field(7000000; "Bill No."; Code[20]) | ||
| { | ||
| Caption = 'Bill No.'; | ||
| DataClassification = CustomerContent; | ||
| } | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Field 7000000 "Bill No." is deleted outright from the shipped base-app table "G/L Entry" (table 17) instead of being staged through ObsoleteState. This field has existed since early NAV/ES sync commits, so it is a released, shipped field with persisted customer data. Deleting it (and its use in key(Key13; "G/L Account No.", "Document No.", "Bill No.")) removes the on-disk column and its data with no ObsoleteState=Pending/Removed staging, no ObsoleteReason/ObsoleteTag, and no upgrade code to migrate the stored values into the new tableextension field of the same ID. Re-adding a field under the same ID 7000000 via a table extension is not an established/supported migration path and is not guaranteed to preserve existing data across the upgrade.
Knowledge:
👍 useful · ❤️ especially valuable · 👎 wrong - reply with why · AL review agent v1.12.4