Skip to content

Commit 7ccd1e0

Browse files
Syncing with version 28.0.40558.0 (#29256)
Fixes [AB#560539](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/560539) --------- Co-authored-by: aholstrup1 <[email protected]>
1 parent 50e806b commit 7ccd1e0

File tree

901 files changed

+5100
-93894
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

901 files changed

+5100
-93894
lines changed

.github/AL-Go-Settings.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"runs-on": "windows-latest",
77
"cacheImageName": "",
88
"UsePsSession": false,
9-
"artifact": "https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/28.0.39754.0/base",
9+
"artifact": "https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/28.0.40558.0/base",
1010
"country": "base",
1111
"useProjectDependencies": true,
1212
"repoVersion": "28.0",
@@ -45,12 +45,14 @@
4545
],
4646
"conditionalSettings": [
4747
{
48-
"workflows": [ "CI/CD" ],
49-
"settings": {
50-
"workflowSchedule": {
51-
"cron": "0 2 * * *"
52-
}
48+
"workflows": [
49+
"CI/CD"
50+
],
51+
"settings": {
52+
"workflowSchedule": {
53+
"cron": "0 2 * * *"
5354
}
55+
}
5456
}
5557
],
5658
"enableCodeCop": true,

Apps/AU/EDocument_AU/demo data/3.Transactions/CreateEDocsFromResourcesAU.Codeunit.al

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace Microsoft.DemoData.Localization;
66

77
using Microsoft.eServices.EDocument.Format;
8+
using Microsoft.eServices.EDocument.DemoData;
89
using Microsoft.DemoData.Jobs;
910
using Microsoft.DemoData.Finance;
1011
using Microsoft.Purchases.Document;

Apps/CZ/AdvancePaymentsLocalization/app/Src/Pages/PurchAdvUsageFactBoxCZZ.Page.al

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ page 31189 "Purch. Adv. Usage FactBox CZZ"
130130

131131
PurchPost.GetPurchLines(PurchaseHeader, TempPurchaseLine, 1);
132132
TempPurchaseLine.CalcVATAmountLines(1, PurchaseHeader, TempPurchaseLine, TempVATAmountLine);
133-
TempPurchaseLine.UpdateVATOnLines(1, PurchaseHeader, TempPurchaseLine, TempVATAmountLine);
134133
TotalAmountInclVAT := TempVATAmountLine.GetTotalAmountInclVAT();
135134

136135
AdvanceCount := TempAdvanceLetterApplication.Count();

Apps/CZ/AdvancePaymentsLocalization/app/Src/Pages/SalesAdvUsageFactBoxCZZ.Page.al

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ page 31187 "Sales Adv. Usage FactBox CZZ"
130130

131131
SalesPost.GetSalesLines(SalesHeader, TempSalesLine, 1);
132132
TempSalesLine.CalcVATAmountLines(1, SalesHeader, TempSalesLine, TempVATAmountLine);
133-
TempSalesLine.UpdateVATOnLines(1, SalesHeader, TempSalesLine, TempVATAmountLine);
134133
TotalAmountInclVAT := TempVATAmountLine.GetTotalAmountInclVAT();
135134

136135
AdvanceCount := TempAdvanceLetterApplication.Count();

Apps/CZ/CashDeskLocalization/app/Src/Tables/CashDocumentLineCZP.Table.al

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,16 @@ table 11733 "Cash Document Line CZP"
924924
{
925925
Caption = 'FA Posting Type';
926926
DataClassification = CustomerContent;
927+
928+
trigger OnValidate()
929+
begin
930+
if "Account Type" <> "Account Type"::"Fixed Asset" then
931+
exit;
932+
933+
if "FA Posting Type" = "FA Posting Type"::"Acquisition Cost" then
934+
if FASetup.IsFAAcquisitionAsCustom2CZL() then
935+
"FA Posting Type" := "FA Posting Type"::"Custom 2";
936+
end;
927937
}
928938
field(91; "Depreciation Book Code"; Code[10])
929939
{
@@ -1253,6 +1263,7 @@ table 11733 "Cash Document Line CZP"
12531263
CashDeskEventCZP: Record "Cash Desk Event CZP";
12541264
TempCashDocumentLineCZP: Record "Cash Document Line CZP" temporary;
12551265
FixedAsset: Record "Fixed Asset";
1266+
FASetup: Record "FA Setup";
12561267
DimensionManagement: Codeunit DimensionManagement;
12571268
ConfirmManagement: Codeunit "Confirm Management";
12581269
RenameErr: Label 'You cannot rename a %1.', Comment = '%1 = TableCaption';
@@ -1788,7 +1799,6 @@ table 11733 "Cash Document Line CZP"
17881799
var
17891800
PostedGLAccount: Record "G/L Account";
17901801
FAPostingGroup: Record "FA Posting Group";
1791-
FASetup: Record "FA Setup";
17921802
FADepreciationBook: Record "FA Depreciation Book";
17931803
SetFADeprBook: Record "FA Depreciation Book";
17941804
FADeprBook: Record "FA Depreciation Book";
@@ -1821,7 +1831,7 @@ table 11733 "Cash Document Line CZP"
18211831
exit;
18221832
end;
18231833
if "FA Posting Type" = "FA Posting Type"::" " then
1824-
"FA Posting Type" := "FA Posting Type"::"Acquisition Cost";
1834+
"FA Posting Type" := FASetup.IsFAAcquisitionAsCustom2CZL() ? "FA Posting Type"::"Custom 2" : "FA Posting Type"::"Acquisition Cost";
18251835
FADepreciationBook.Get("Account No.", "Depreciation Book Code");
18261836
FADepreciationBook.TestField("FA Posting Group");
18271837
FAPostingGroup.Get(FADepreciationBook."FA Posting Group");

Apps/CZ/CashDeskLocalization/test/Src/CashDeskDocumentsCZP.Codeunit.al

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ codeunit 148070 "Cash Desk Documents CZP"
279279
FALedgerEntry.SetRange("Posting Date", PostedCashDocumentHdrCZP."Posting Date");
280280
FALedgerEntry.FindLast();
281281
FALedgerEntry.TestField("FA No.", CashDocumentLineCZP."Account No.");
282-
FALedgerEntry.TestField("FA Posting Type", FALedgerEntry."FA Posting Type"::"Acquisition Cost");
282+
FALedgerEntry.TestField("FA Posting Type", FALedgerEntry."FA Posting Type"::"Custom 2");
283283
FALedgerEntry.TestField(Amount, CashDocumentLineCZP.Amount);
284284
end;
285285

Apps/CZ/CashDeskLocalization/test/Src/LibraryCashDocumentCZP.Codeunit.al

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ codeunit 148002 "Library - Cash Document CZP"
7373
local procedure CreateDepreciationBook(var DepreciationBook: Record "Depreciation Book")
7474
begin
7575
LibraryFixedAsset.CreateDepreciationBook(DepreciationBook);
76-
DepreciationBook.Validate("G/L Integration - Acq. Cost", true);
76+
DepreciationBook.Validate("G/L Integration - Custom 2", true);
7777
DepreciationBook.Modify(true);
7878
end;
7979

Apps/CZ/CompensationLocalization/app/Src/Pages/CompensationProposalCZC.Page.al

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,17 @@ page 31276 "Compensation Proposal CZC"
136136
end;
137137
}
138138
}
139+
area(Promoted)
140+
{
141+
group(Category_Process)
142+
{
143+
Caption = 'Process';
144+
145+
actionref(RecalculateBalance_Promoted; RecalculateBalance)
146+
{
147+
}
148+
}
149+
}
139150
}
140151

141152
trigger OnAfterGetCurrRecord()

Apps/CZ/ContosoCoffeeDemoDatasetCZ/app/DemoData/ContosoCZLocalization.Codeunit.al

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ codeunit 31215 "Contoso CZ Localization"
150150
end;
151151
Enum::"Contoso Demo Data Level"::"Master Data":
152152
begin
153-
Codeunit.Run(Codeunit::"Create VAT Period CZ");
154153
Codeunit.Run(Codeunit::"Create VAT Return Period CZ");
155154
CreateStatRepSetupCZ.CreateFinanceStatutoryReportingSetup();
156155
CreateVatPostingGroupsCZ.DeleteVATProductPostingGroups();

Apps/CZ/ContosoCoffeeDemoDatasetCZ/app/DemoData/Finance/2. Master Data/CreateVATPeriodCZ.Codeunit.al

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#if not CLEAN28
2+
#pragma warning disable AL0432
13
// ------------------------------------------------------------------------------------------------
24
// Copyright (c) Microsoft Corporation. All rights reserved.
35
// Licensed under the MIT License. See License.txt in the project root for license information.
@@ -11,6 +13,9 @@ codeunit 31214 "Create VAT Period CZ"
1113
{
1214
InherentEntitlements = X;
1315
InherentPermissions = X;
16+
ObsoleteState = Pending;
17+
ObsoleteReason = 'The VAT Period CZL table is replaced by VAT Return Period table. Use the Create VAT Return Period codeunit instead.';
18+
ObsoleteTag = '28.0';
1419

1520
trigger OnRun()
1621
var
@@ -29,4 +34,5 @@ codeunit 31214 "Create VAT Period CZ"
2934
end;
3035
end;
3136
}
32-
37+
#pragma warning restore AL0432
38+
#endif

0 commit comments

Comments
 (0)