From 72c707a003a6290f4c3501221adcbedb920d9c08 Mon Sep 17 00:00:00 2001 From: Jesper Schulz-Wedde Date: Wed, 9 Sep 2026 11:24:31 +0200 Subject: [PATCH 1/7] Handle legacy permission and affix diagnostics Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../test/src/SwissQRBillXml.Codeunit.al | 2 ++ .../app/src/Pages/ElecVATDeclOverview.Page.al | 2 ++ .../src/Pages/ElectronicVATDeclSetup.Page.al | 2 ++ .../src/Pages/SalesVATAdvNotifCard.Page.al | 2 ++ .../src/Pages/SalesVATAdvNotifList.Page.al | 2 ++ ...localizationforgermany.permissionsetext.al | 2 ++ ...localizationforgermany.permissionsetext.al | 2 ++ ...localizationforgermany.permissionsetext.al | 2 ++ ...localizationforgermany.permissionsetext.al | 2 ++ ...localizationforgermany.permissionsetext.al | 2 ++ ...localizationforgermany.permissionsetext.al | 2 ++ ...localizationforgermany.permissionsetext.al | 2 ++ ...localizationforgermany.permissionsetext.al | 2 ++ .../CreateXMLFileVATAdvNotif.Report.al | 2 ++ .../app/src/Tables/ElecVATDeclBuffer.Table.al | 2 ++ .../app/src/Tables/ElecVATDeclSetup.Table.al | 2 ++ .../src/Tables/SalesVATAdvanceNotif.Table.al | 2 ++ .../BankStatementImportSunshine.Codeunit.al | 2 ++ .../test/src/CashMgmtE2EScenarios.Codeunit.al | 2 ++ .../src/LibraryPaymentExportDK.Codeunit.al | 2 ++ .../src/PaymentExpMgtUnitTestDK.Codeunit.al | 2 ++ .../test/src/PaymentExportFormats.Codeunit.al | 2 ++ .../src/PaymentExportNegative.Codeunit.al | 2 ++ .../src/PaymentExportSunshine.Codeunit.al | 2 ++ .../src/PmtExportFixedWidthUT.Codeunit.al | 2 ++ .../src/TestBankImpBankRecLine.Codeunit.al | 2 ++ .../src/TestBankImpGenJnlLine.Codeunit.al | 2 ++ .../test/src/TestFIKImpPmtRecJnl.Codeunit.al | 2 ++ .../src/TestMatchFIKBankPmtApp.Codeunit.al | 2 ++ .../test/src/TestMatchFIKGenJnl.Codeunit.al | 2 ++ .../TestPmtExportValidationDKUT.Codeunit.al | 2 ++ .../src/IndiaDataTransferStatistics.Table.al | 2 ++ .../src/IndiaMigrationCompany.Table.al | 2 ++ .../src/IndiaMigrationWorksheet.Table.al | 2 ++ .../NA/MX_DIOT/test/src/MXDIOTUT.Codeunit.al | 2 ++ .../SLD365BasicExt.PermissionSetExt.al | 2 ++ .../SLD365FullAccessExt.PermissionSetExt.al | 2 ++ .../SLHistoricalQuerys.permissionset.al | 4 +++ .../src/LibraryMasterDataMgt.Codeunit.al | 2 ++ .../test library/src/MDMTestTableA.Table.al | 2 ++ .../test library/src/MDMTestTableB.Table.al | 2 ++ ...uickBooksDataMigration.PermissionSetExt.al | 2 ++ ...uickBooksDataMigration.PermissionSetExt.al | 2 ++ ...uickBooksDataMigration.PermissionSetExt.al | 2 ++ ...uickBooksDataMigration.PermissionSetExt.al | 2 ++ ...uickBooksDataMigration.PermissionSetExt.al | 2 ++ ...uickBooksDataMigration.PermissionSetExt.al | 2 ++ ...uickBooksDataMigration.PermissionSetExt.al | 2 ++ ...uickBooksDataMigration.PermissionSetExt.al | 2 ++ .../QBMigrationEdit.PermissionSet.al | 2 ++ .../QBMigrationObjects.PermissionSet.al | 2 ++ .../QBMigrationRead.PermissionSet.al | 2 ++ .../src/Support/MSQBODataMigration.Page.al | 2 ++ .../MigrateQBOWizardIntegration.Codeunit.al | 2 ++ .../install/QBMigrationInstall.Codeunit.al | 2 ++ .../APAC/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/AT/DemoTool/DemoDataSetup.Table.al | 2 ++ src/Layers/AU/DemoTool/DemoDataSetup.Table.al | 2 ++ src/Layers/BE/DemoTool/DemoDataSetup.Table.al | 2 ++ .../BE/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/CA/DemoTool/DemoDataSetup.Table.al | 2 ++ src/Layers/CH/DemoTool/DemoDataSetup.Table.al | 2 ++ src/Layers/CZ/DemoTool/DemoDataSetup.Table.al | 2 ++ .../CZ/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ .../DACH/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/DE/DemoTool/DemoDataSetup.Table.al | 2 ++ src/Layers/DK/DemoTool/DemoDataSetup.Table.al | 2 ++ .../DK/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/ES/DemoTool/DemoDataSetup.Table.al | 2 ++ .../ES/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/FI/DemoTool/DemoDataSetup.Table.al | 2 ++ .../FI/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/FR/DemoTool/DemoDataSetup.Table.al | 2 ++ .../FR/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/GB/DemoTool/DemoDataSetup.Table.al | 2 ++ .../GB/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/IS/DemoTool/DemoDataSetup.Table.al | 2 ++ .../IS/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/IT/DemoTool/DemoDataSetup.Table.al | 2 ++ .../IT/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/MX/DemoTool/DemoDataSetup.Table.al | 2 ++ .../NA/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/NL/DemoTool/DemoDataSetup.Table.al | 2 ++ .../NL/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ .../DemoTool/AccSchedulesConversion.Table.al | 2 ++ .../NO/DemoTool/AnalysisConversion.Table.al | 2 ++ src/Layers/NO/DemoTool/DemoDataSetup.Table.al | 2 ++ .../NO/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../NO/DemoTool/GLAccountsConversion.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/NZ/DemoTool/DemoDataSetup.Table.al | 2 ++ .../Permissions/local.permissionset.al | 31 ++++++++++++++++++- .../Permissions/localread.permissionset.al | 31 ++++++++++++++++++- src/Layers/RU/DemoTool/DemoDataSetup.Table.al | 2 ++ .../RU/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/SE/DemoTool/DemoDataSetup.Table.al | 2 ++ .../SE/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ src/Layers/US/DemoTool/DemoDataSetup.Table.al | 2 ++ .../W1/AlCosting/BWBinContentRef.Table.al | 2 ++ .../AlCosting/BWItemJournalLineRef.Table.al | 2 ++ .../AlCosting/BWItemLedgerEntryRef.Table.al | 2 ++ .../W1/AlCosting/BWItemRegisterRef.Table.al | 2 ++ .../W1/AlCosting/BWPInvtPickLineRef.Table.al | 2 ++ .../AlCosting/BWPInvtPutawayLineRef.Table.al | 2 ++ .../BWPostedWhseRcptLineRef.Table.al | 2 ++ .../BWPostedWhseShpmtLineRef.Table.al | 2 ++ .../BWWarehouseActivityLineRef.Table.al | 2 ++ .../W1/AlCosting/BWWarehouseEntryRef.Table.al | 2 ++ .../BWWarehouseJournalLineRef.Table.al | 2 ++ .../BWWarehouseReceiptLineRef.Table.al | 2 ++ .../AlCosting/BWWarehouseRequestRef.Table.al | 2 ++ .../BWWarehouseShipmentLineRef.Table.al | 2 ++ .../AlCosting/BWWhseWorksheetLineRef.Table.al | 2 ++ src/Layers/W1/AlCosting/GLEntryRef.Table.al | 2 ++ .../W1/AlCosting/ItemJournalLineRef.Table.al | 2 ++ .../W1/AlCosting/ItemLedgerEntryRef.Table.al | 2 ++ src/Layers/W1/AlCosting/ItemRef.Table.al | 2 ++ .../W1/AlCosting/LedgerEntryDimRef.Table.al | 2 ++ .../W1/AlCosting/PurchaseHeaderRef.Table.al | 2 ++ src/Layers/W1/AlCosting/QASetup.Table.al | 2 ++ .../W1/AlCosting/RequiredInputData.Table.al | 2 ++ src/Layers/W1/AlCosting/SKURef.Table.al | 2 ++ .../W1/AlCosting/TempReferenceData.Table.al | 2 ++ src/Layers/W1/AlCosting/TestCase.Table.al | 2 ++ .../W1/AlCosting/TestIteration.Table.al | 2 ++ .../TestscriptResult.Table.103001.al | 2 ++ .../TestscriptResult.Table.103403.al | 2 ++ .../W1/AlCosting/TestscriptSetup.Table.al | 2 ++ src/Layers/W1/AlCosting/UseCase.Table.al | 2 ++ .../W1/AlCosting/ValueEntryRef.Table.al | 2 ++ .../W1/AlCosting/WMSBinContentRef.Table.al | 2 ++ .../AlCosting/WMSItemJournalLineRef.Table.al | 2 ++ .../AlCosting/WMSItemLedgerEntryRef.Table.al | 2 ++ .../WMSPostedWhseRcptLineRef.Table.al | 2 ++ .../WMSPostedWhseShptLineRef.Table.al | 2 ++ .../WMSProdOrderComponentRef.Table.al | 2 ++ .../AlCosting/WMSReservationEntryRef.Table.al | 2 ++ .../WMSTrackingSpecificationRef.Table.al | 2 ++ .../AlCosting/WMSWarehouseEntryRef.Table.al | 2 ++ .../WMSWarehouseJournalLineRef.Table.al | 2 ++ .../WMSWarehouseReceiptLineRef.Table.al | 2 ++ .../AlCosting/WMSWhseActivityLineRef.Table.al | 2 ++ .../AlCosting/WMSWhseShipmentLineRef.Table.al | 2 ++ .../WMSWhseWorksheetLineRef.Table.al | 2 ++ src/Layers/W1/AlCosting/WhseQASetup.Table.al | 2 ++ .../AlCosting/WhseTempReferenceData.Table.al | 2 ++ src/Layers/W1/AlCosting/WhseTestCase.Table.al | 2 ++ .../W1/AlCosting/WhseTestIteration.Table.al | 2 ++ .../AlCosting/WhseTestscriptResult.Table.al | 2 ++ src/Layers/W1/AlCosting/WhseUseCase.Table.al | 2 ++ src/Layers/W1/DemoTool/CodeSort.Table.al | 2 ++ src/Layers/W1/DemoTool/DemoDataFile.Table.al | 2 ++ src/Layers/W1/DemoTool/DemoDataSetup.Table.al | 2 ++ .../W1/DemoTool/DemoDataTables.Table.al | 2 ++ src/Layers/W1/DemoTool/DevSourceInfo.Table.al | 2 ++ .../W1/DemoTool/GLAccountMapBuffer.Table.al | 2 ++ .../W1/DemoTool/ItemLineBuffer.Table.al | 2 ++ src/Layers/W1/DemoTool/ItemSalesData.Table.al | 2 ++ .../QuantityAllocationBuffer.Table.al | 2 ++ .../DemoTool/TemporaryCurrencyData.Table.al | 2 ++ .../W1/Tests/Misc/CountyCaptionTest.Table.al | 2 ++ .../Tests/Misc/TableWithFieldCaption.Table.al | 2 ++ .../TestLibraries/ReferenceDataLog.Table.al | 2 ++ .../TestLibraries/Referencedata.Table.al | 2 ++ .../Referencedatafieldlist.Table.al | 2 ++ .../Tests/TestLibraries/TestTableA.Table.al | 2 ++ .../Tests/TestLibraries/TestTableB.Table.al | 2 ++ .../Tests/TestLibraries/TestTableC.Table.al | 2 ++ .../TestLibraries/WatchEmployee.Table.al | 2 ++ .../WatchEmployeeLedgerEntry.Table.al | 2 ++ .../UPGCRMConnectionSetup.Table.al | 2 ++ .../UPGIntegrationTableMapping.Table.al | 2 ++ .../BufferTables/UPGUpgradeTag.Table.al | 2 ++ .../Upgrade/Framework/UpgradeStatus.Table.al | 2 ++ 189 files changed, 436 insertions(+), 2 deletions(-) diff --git a/src/Apps/CH/SwissQRBill/test/src/SwissQRBillXml.Codeunit.al b/src/Apps/CH/SwissQRBill/test/src/SwissQRBillXml.Codeunit.al index 89281d70100..e53ef6c10e5 100644 --- a/src/Apps/CH/SwissQRBill/test/src/SwissQRBillXml.Codeunit.al +++ b/src/Apps/CH/SwissQRBill/test/src/SwissQRBillXml.Codeunit.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148097 "Swiss QR-Bill Xml" +#pragma warning restore AS0011 { var AttachmentXmlDocText: Text; diff --git a/src/Apps/DE/Elster/app/src/Pages/ElecVATDeclOverview.Page.al b/src/Apps/DE/Elster/app/src/Pages/ElecVATDeclOverview.Page.al index ee52bc17a18..efea13bf5d1 100644 --- a/src/Apps/DE/Elster/app/src/Pages/ElecVATDeclOverview.Page.al +++ b/src/Apps/DE/Elster/app/src/Pages/ElecVATDeclOverview.Page.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. page 11028 "Elec. VAT Decl. Overview" +#pragma warning restore AS0011 { Caption = 'Elec. VAT Decl. Overview'; Editable = false; diff --git a/src/Apps/DE/Elster/app/src/Pages/ElectronicVATDeclSetup.Page.al b/src/Apps/DE/Elster/app/src/Pages/ElectronicVATDeclSetup.Page.al index 2fa25813967..ab07858d9ad 100644 --- a/src/Apps/DE/Elster/app/src/Pages/ElectronicVATDeclSetup.Page.al +++ b/src/Apps/DE/Elster/app/src/Pages/ElectronicVATDeclSetup.Page.al @@ -4,7 +4,9 @@ // ------------------------------------------------------------------------------------------------ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. page 11019 "Electronic VAT Decl. Setup" +#pragma warning restore AS0011 { ApplicationArea = Basic, Suite; Caption = 'Electronic VAT Decl. Setup'; diff --git a/src/Apps/DE/Elster/app/src/Pages/SalesVATAdvNotifCard.Page.al b/src/Apps/DE/Elster/app/src/Pages/SalesVATAdvNotifCard.Page.al index d9b1ab97417..37491507821 100644 --- a/src/Apps/DE/Elster/app/src/Pages/SalesVATAdvNotifCard.Page.al +++ b/src/Apps/DE/Elster/app/src/Pages/SalesVATAdvNotifCard.Page.al @@ -4,7 +4,9 @@ // ------------------------------------------------------------------------------------------------ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. page 11016 "Sales VAT Adv. Notif. Card" +#pragma warning restore AS0011 { PageType = Card; Caption = 'Sales VAT Adv. Notif. Card'; diff --git a/src/Apps/DE/Elster/app/src/Pages/SalesVATAdvNotifList.Page.al b/src/Apps/DE/Elster/app/src/Pages/SalesVATAdvNotifList.Page.al index 8bac5fba153..27da3bd5b00 100644 --- a/src/Apps/DE/Elster/app/src/Pages/SalesVATAdvNotifList.Page.al +++ b/src/Apps/DE/Elster/app/src/Pages/SalesVATAdvNotifList.Page.al @@ -4,7 +4,9 @@ // ------------------------------------------------------------------------------------------------ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. page 11017 "Sales VAT Adv. Notif. List" +#pragma warning restore AS0011 { ApplicationArea = Basic, Suite; Caption = 'Sales VAT Advance Notification List'; diff --git a/src/Apps/DE/Elster/app/src/Permissions/d365basicelstervatlocalizationforgermany.permissionsetext.al b/src/Apps/DE/Elster/app/src/Permissions/d365basicelstervatlocalizationforgermany.permissionsetext.al index 6be282f9232..494ba0bc336 100644 --- a/src/Apps/DE/Elster/app/src/Permissions/d365basicelstervatlocalizationforgermany.permissionsetext.al +++ b/src/Apps/DE/Elster/app/src/Permissions/d365basicelstervatlocalizationforgermany.permissionsetext.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 46539 "D365 BASIC - ELSTER VAT Localization for Germany" extends "D365 BASIC" +#pragma warning restore AS0011 { Permissions = tabledata "Elec. VAT Decl. Setup" = RIMD, tabledata "Sales VAT Advance Notif." = RIMD, diff --git a/src/Apps/DE/Elster/app/src/Permissions/d365basicisvelstervatlocalizationforgermany.permissionsetext.al b/src/Apps/DE/Elster/app/src/Permissions/d365basicisvelstervatlocalizationforgermany.permissionsetext.al index 54c953e0c8d..14afc35e357 100644 --- a/src/Apps/DE/Elster/app/src/Permissions/d365basicisvelstervatlocalizationforgermany.permissionsetext.al +++ b/src/Apps/DE/Elster/app/src/Permissions/d365basicisvelstervatlocalizationforgermany.permissionsetext.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 45801 "D365 BASIC ISV - ELSTER VAT Localization for Germany" extends "D365 BASIC ISV" +#pragma warning restore AS0011 { Permissions = tabledata "Elec. VAT Decl. Setup" = RIMD, tabledata "Sales VAT Advance Notif." = RIMD, diff --git a/src/Apps/DE/Elster/app/src/Permissions/d365busfullaccesselstervatlocalizationforgermany.permissionsetext.al b/src/Apps/DE/Elster/app/src/Permissions/d365busfullaccesselstervatlocalizationforgermany.permissionsetext.al index 4fb8efa8c95..240d31fdf26 100644 --- a/src/Apps/DE/Elster/app/src/Permissions/d365busfullaccesselstervatlocalizationforgermany.permissionsetext.al +++ b/src/Apps/DE/Elster/app/src/Permissions/d365busfullaccesselstervatlocalizationforgermany.permissionsetext.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 8697 "D365 BUS FULL ACCESS - ELSTER VAT Localization for Germany" extends "D365 BUS FULL ACCESS" +#pragma warning restore AS0011 { Permissions = tabledata "Elec. VAT Decl. Setup" = RIMD, tabledata "Sales VAT Advance Notif." = RIMD, diff --git a/src/Apps/DE/Elster/app/src/Permissions/d365buspremiumelstervatlocalizationforgermany.permissionsetext.al b/src/Apps/DE/Elster/app/src/Permissions/d365buspremiumelstervatlocalizationforgermany.permissionsetext.al index 0a8d9e35c87..7f317b2a13d 100644 --- a/src/Apps/DE/Elster/app/src/Permissions/d365buspremiumelstervatlocalizationforgermany.permissionsetext.al +++ b/src/Apps/DE/Elster/app/src/Permissions/d365buspremiumelstervatlocalizationforgermany.permissionsetext.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 16295 "D365 BUS PREMIUM - ELSTER VAT Localization for Germany" extends "D365 BUS PREMIUM" +#pragma warning restore AS0011 { Permissions = tabledata "Elec. VAT Decl. Setup" = RIMD, tabledata "Sales VAT Advance Notif." = RIMD, diff --git a/src/Apps/DE/Elster/app/src/Permissions/d365fullaccesselstervatlocalizationforgermany.permissionsetext.al b/src/Apps/DE/Elster/app/src/Permissions/d365fullaccesselstervatlocalizationforgermany.permissionsetext.al index 79e028bef7a..cc09300d73b 100644 --- a/src/Apps/DE/Elster/app/src/Permissions/d365fullaccesselstervatlocalizationforgermany.permissionsetext.al +++ b/src/Apps/DE/Elster/app/src/Permissions/d365fullaccesselstervatlocalizationforgermany.permissionsetext.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 14181 "D365 FULL ACCESS - ELSTER VAT Localization for Germany" extends "D365 FULL ACCESS" +#pragma warning restore AS0011 { Permissions = tabledata "Elec. VAT Decl. Setup" = RIMD, tabledata "Sales VAT Advance Notif." = RIMD, diff --git a/src/Apps/DE/Elster/app/src/Permissions/d365readelstervatlocalizationforgermany.permissionsetext.al b/src/Apps/DE/Elster/app/src/Permissions/d365readelstervatlocalizationforgermany.permissionsetext.al index 6efd2100bba..3a62f51db18 100644 --- a/src/Apps/DE/Elster/app/src/Permissions/d365readelstervatlocalizationforgermany.permissionsetext.al +++ b/src/Apps/DE/Elster/app/src/Permissions/d365readelstervatlocalizationforgermany.permissionsetext.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 9615 "D365 READ - ELSTER VAT Localization for Germany" extends "D365 READ" +#pragma warning restore AS0011 { Permissions = tabledata "Elec. VAT Decl. Setup" = R, tabledata "Sales VAT Advance Notif." = R, diff --git a/src/Apps/DE/Elster/app/src/Permissions/d365teammemberelstervatlocalizationforgermany.permissionsetext.al b/src/Apps/DE/Elster/app/src/Permissions/d365teammemberelstervatlocalizationforgermany.permissionsetext.al index 1249f72fad4..41f0276d622 100644 --- a/src/Apps/DE/Elster/app/src/Permissions/d365teammemberelstervatlocalizationforgermany.permissionsetext.al +++ b/src/Apps/DE/Elster/app/src/Permissions/d365teammemberelstervatlocalizationforgermany.permissionsetext.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 32689 "D365 TEAM MEMBER - ELSTER VAT Localization for Germany" extends "D365 TEAM MEMBER" +#pragma warning restore AS0011 { Permissions = tabledata "Elec. VAT Decl. Setup" = RIMD, tabledata "Sales VAT Advance Notif." = RIMD, diff --git a/src/Apps/DE/Elster/app/src/Permissions/intelligentcloudelstervatlocalizationforgermany.permissionsetext.al b/src/Apps/DE/Elster/app/src/Permissions/intelligentcloudelstervatlocalizationforgermany.permissionsetext.al index ce46768208b..c799d6c53b5 100644 --- a/src/Apps/DE/Elster/app/src/Permissions/intelligentcloudelstervatlocalizationforgermany.permissionsetext.al +++ b/src/Apps/DE/Elster/app/src/Permissions/intelligentcloudelstervatlocalizationforgermany.permissionsetext.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 21993 "INTELLIGENT CLOUD - ELSTER VAT Localization for Germany" extends "INTELLIGENT CLOUD" +#pragma warning restore AS0011 { Permissions = tabledata "Elec. VAT Decl. Setup" = RIMD, tabledata "Sales VAT Advance Notif." = RIMD, diff --git a/src/Apps/DE/Elster/app/src/Reports/CreateXMLFileVATAdvNotif.Report.al b/src/Apps/DE/Elster/app/src/Reports/CreateXMLFileVATAdvNotif.Report.al index 66f65b52114..b6d4bdf8963 100644 --- a/src/Apps/DE/Elster/app/src/Reports/CreateXMLFileVATAdvNotif.Report.al +++ b/src/Apps/DE/Elster/app/src/Reports/CreateXMLFileVATAdvNotif.Report.al @@ -4,7 +4,9 @@ // ------------------------------------------------------------------------------------------------ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. report 11016 "Create XML-File VAT Adv.Notif." +#pragma warning restore AS0011 { ProcessingOnly = true; UsageCategory = None; diff --git a/src/Apps/DE/Elster/app/src/Tables/ElecVATDeclBuffer.Table.al b/src/Apps/DE/Elster/app/src/Tables/ElecVATDeclBuffer.Table.al index 362b8d6d408..b067dee17c3 100644 --- a/src/Apps/DE/Elster/app/src/Tables/ElecVATDeclBuffer.Table.al +++ b/src/Apps/DE/Elster/app/src/Tables/ElecVATDeclBuffer.Table.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. table 11027 "Elec. VAT Decl. Buffer" +#pragma warning restore AS0011 { TableType = Temporary; LookupPageId = "Elec. VAT Decl. Overview"; diff --git a/src/Apps/DE/Elster/app/src/Tables/ElecVATDeclSetup.Table.al b/src/Apps/DE/Elster/app/src/Tables/ElecVATDeclSetup.Table.al index 604e3dd83a1..30d8a32c025 100644 --- a/src/Apps/DE/Elster/app/src/Tables/ElecVATDeclSetup.Table.al +++ b/src/Apps/DE/Elster/app/src/Tables/ElecVATDeclSetup.Table.al @@ -4,7 +4,9 @@ // ------------------------------------------------------------------------------------------------ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. table 11023 "Elec. VAT Decl. Setup" +#pragma warning restore AS0011 { fields { diff --git a/src/Apps/DE/Elster/app/src/Tables/SalesVATAdvanceNotif.Table.al b/src/Apps/DE/Elster/app/src/Tables/SalesVATAdvanceNotif.Table.al index e96c88ef3fd..7d74a78eae3 100644 --- a/src/Apps/DE/Elster/app/src/Tables/SalesVATAdvanceNotif.Table.al +++ b/src/Apps/DE/Elster/app/src/Tables/SalesVATAdvanceNotif.Table.al @@ -4,7 +4,9 @@ // ------------------------------------------------------------------------------------------------ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. table 11021 "Sales VAT Advance Notif." +#pragma warning restore AS0011 { DataCaptionFields = "No.", Description; LookupPageID = 11017; diff --git a/src/Apps/DK/FIK/test/src/BankStatementImportSunshine.Codeunit.al b/src/Apps/DK/FIK/test/src/BankStatementImportSunshine.Codeunit.al index 39b28437afc..80346755898 100644 --- a/src/Apps/DK/FIK/test/src/BankStatementImportSunshine.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/BankStatementImportSunshine.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148023 "Bank Statement Import Sunshine" +#pragma warning restore AS0011 { Subtype = Test; TestType = IntegrationTest; diff --git a/src/Apps/DK/FIK/test/src/CashMgmtE2EScenarios.Codeunit.al b/src/Apps/DK/FIK/test/src/CashMgmtE2EScenarios.Codeunit.al index d100b76f8f4..4d77bfae9f8 100644 --- a/src/Apps/DK/FIK/test/src/CashMgmtE2EScenarios.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/CashMgmtE2EScenarios.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148031 "Cash Mgmt E2E Scenarios" +#pragma warning restore AS0011 { Subtype = Test; TestType = Uncategorized; diff --git a/src/Apps/DK/FIK/test/src/LibraryPaymentExportDK.Codeunit.al b/src/Apps/DK/FIK/test/src/LibraryPaymentExportDK.Codeunit.al index 75825ab5e4b..1d9f95c28fe 100644 --- a/src/Apps/DK/FIK/test/src/LibraryPaymentExportDK.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/LibraryPaymentExportDK.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148019 "Library - Payment Export DK" +#pragma warning restore AS0011 { var LibraryERM: Codeunit "Library - ERM"; diff --git a/src/Apps/DK/FIK/test/src/PaymentExpMgtUnitTestDK.Codeunit.al b/src/Apps/DK/FIK/test/src/PaymentExpMgtUnitTestDK.Codeunit.al index 11ccf7720ad..61f98187845 100644 --- a/src/Apps/DK/FIK/test/src/PaymentExpMgtUnitTestDK.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/PaymentExpMgtUnitTestDK.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148030 "Payment Exp Mgt Unit Test DK" +#pragma warning restore AS0011 { Subtype = Test; TestType = IntegrationTest; diff --git a/src/Apps/DK/FIK/test/src/PaymentExportFormats.Codeunit.al b/src/Apps/DK/FIK/test/src/PaymentExportFormats.Codeunit.al index 7f450fd3908..5291e95a455 100644 --- a/src/Apps/DK/FIK/test/src/PaymentExportFormats.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/PaymentExportFormats.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148020 "Payment Export Formats" +#pragma warning restore AS0011 { Subtype = Test; TestType = Uncategorized; diff --git a/src/Apps/DK/FIK/test/src/PaymentExportNegative.Codeunit.al b/src/Apps/DK/FIK/test/src/PaymentExportNegative.Codeunit.al index d44d964ebba..ab267f14f24 100644 --- a/src/Apps/DK/FIK/test/src/PaymentExportNegative.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/PaymentExportNegative.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148022 "Payment Export Negative" +#pragma warning restore AS0011 { // version Test,ERM,DK diff --git a/src/Apps/DK/FIK/test/src/PaymentExportSunshine.Codeunit.al b/src/Apps/DK/FIK/test/src/PaymentExportSunshine.Codeunit.al index 12ffb0448c1..9c2e4505359 100644 --- a/src/Apps/DK/FIK/test/src/PaymentExportSunshine.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/PaymentExportSunshine.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148021 "Payment Export Sunshine" +#pragma warning restore AS0011 { // version Test,ERM,DK diff --git a/src/Apps/DK/FIK/test/src/PmtExportFixedWidthUT.Codeunit.al b/src/Apps/DK/FIK/test/src/PmtExportFixedWidthUT.Codeunit.al index 5b2130b30ab..d86b2280a9b 100644 --- a/src/Apps/DK/FIK/test/src/PmtExportFixedWidthUT.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/PmtExportFixedWidthUT.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148024 "Pmt Export Fixed-Width UT" +#pragma warning restore AS0011 { Subtype = Test; TestPermissions = Disabled; diff --git a/src/Apps/DK/FIK/test/src/TestBankImpBankRecLine.Codeunit.al b/src/Apps/DK/FIK/test/src/TestBankImpBankRecLine.Codeunit.al index 82f5ac69f34..0521889e481 100644 --- a/src/Apps/DK/FIK/test/src/TestBankImpBankRecLine.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/TestBankImpBankRecLine.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148028 "Test Bank Imp. Bank Rec. Line" +#pragma warning restore AS0011 { Subtype = Test; TestType = IntegrationTest; diff --git a/src/Apps/DK/FIK/test/src/TestBankImpGenJnlLine.Codeunit.al b/src/Apps/DK/FIK/test/src/TestBankImpGenJnlLine.Codeunit.al index 35c86b774a6..e7f76c27dce 100644 --- a/src/Apps/DK/FIK/test/src/TestBankImpGenJnlLine.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/TestBankImpGenJnlLine.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148026 "Test Bank Imp. Gen. Jnl. Line" +#pragma warning restore AS0011 { Subtype = Test; TestType = IntegrationTest; diff --git a/src/Apps/DK/FIK/test/src/TestFIKImpPmtRecJnl.Codeunit.al b/src/Apps/DK/FIK/test/src/TestFIKImpPmtRecJnl.Codeunit.al index 51560af4838..c87eb56b900 100644 --- a/src/Apps/DK/FIK/test/src/TestFIKImpPmtRecJnl.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/TestFIKImpPmtRecJnl.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. Codeunit 148034 "TestFIKImp.Pmt. Rec. Jnl." +#pragma warning restore AS0011 { Subtype = Test; TestType = IntegrationTest; diff --git a/src/Apps/DK/FIK/test/src/TestMatchFIKBankPmtApp.Codeunit.al b/src/Apps/DK/FIK/test/src/TestMatchFIKBankPmtApp.Codeunit.al index f9b40c5ee48..32bb4ce61b3 100644 --- a/src/Apps/DK/FIK/test/src/TestMatchFIKBankPmtApp.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/TestMatchFIKBankPmtApp.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. Codeunit 148033 TestMatchFIKBankPmtApp +#pragma warning restore AS0011 { Subtype = Test; diff --git a/src/Apps/DK/FIK/test/src/TestMatchFIKGenJnl.Codeunit.al b/src/Apps/DK/FIK/test/src/TestMatchFIKGenJnl.Codeunit.al index 76c47430a6c..108a55ac530 100644 --- a/src/Apps/DK/FIK/test/src/TestMatchFIKGenJnl.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/TestMatchFIKGenJnl.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. Codeunit 148032 TestMatchFIKGenJnl +#pragma warning restore AS0011 { Subtype = Test; diff --git a/src/Apps/DK/FIK/test/src/TestPmtExportValidationDKUT.Codeunit.al b/src/Apps/DK/FIK/test/src/TestPmtExportValidationDKUT.Codeunit.al index eaad7f0edc3..8fb6e00fb2d 100644 --- a/src/Apps/DK/FIK/test/src/TestPmtExportValidationDKUT.Codeunit.al +++ b/src/Apps/DK/FIK/test/src/TestPmtExportValidationDKUT.Codeunit.al @@ -3,7 +3,9 @@ // Licensed under the MIT License. See License.txt in the project root for license information. // ------------------------------------------------------------------------------------------------ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148027 "TestPmtExport Validation DK UT" +#pragma warning restore AS0011 { EventSubscriberInstance = Manual; Subtype = Test; diff --git a/src/Apps/IN/INDataMigration/src/IndiaDataTransferStatistics.Table.al b/src/Apps/IN/INDataMigration/src/IndiaDataTransferStatistics.Table.al index 4c2f620663b..4661f05ea9b 100644 --- a/src/Apps/IN/INDataMigration/src/IndiaDataTransferStatistics.Table.al +++ b/src/Apps/IN/INDataMigration/src/IndiaDataTransferStatistics.Table.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 19298 "India Data Transfer Statistics" +#pragma warning restore AS0103, PTE0004 { DataClassification = CustomerContent; diff --git a/src/Apps/IN/INDataMigration/src/IndiaMigrationCompany.Table.al b/src/Apps/IN/INDataMigration/src/IndiaMigrationCompany.Table.al index a6b6a68b80d..cf422f3cfb8 100644 --- a/src/Apps/IN/INDataMigration/src/IndiaMigrationCompany.Table.al +++ b/src/Apps/IN/INDataMigration/src/IndiaMigrationCompany.Table.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 19299 "India Migration Company" +#pragma warning restore AS0103, PTE0004 { DataPerCompany = false; DataClassification = CustomerContent; diff --git a/src/Apps/IN/INDataMigration/src/IndiaMigrationWorksheet.Table.al b/src/Apps/IN/INDataMigration/src/IndiaMigrationWorksheet.Table.al index 3112eaa5c6c..0b294c4b7fa 100644 --- a/src/Apps/IN/INDataMigration/src/IndiaMigrationWorksheet.Table.al +++ b/src/Apps/IN/INDataMigration/src/IndiaMigrationWorksheet.Table.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 19300 "India Migration Worksheet" +#pragma warning restore AS0103, PTE0004 { fields { diff --git a/src/Apps/NA/MX_DIOT/test/src/MXDIOTUT.Codeunit.al b/src/Apps/NA/MX_DIOT/test/src/MXDIOTUT.Codeunit.al index 7cb0c1ced4a..fb3f473dcdf 100644 --- a/src/Apps/NA/MX_DIOT/test/src/MXDIOTUT.Codeunit.al +++ b/src/Apps/NA/MX_DIOT/test/src/MXDIOTUT.Codeunit.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 148041 "MX DIOT UT" +#pragma warning restore AS0011 { Subtype = Test; TestType = IntegrationTest; diff --git a/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLD365BasicExt.PermissionSetExt.al b/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLD365BasicExt.PermissionSetExt.al index e7f7c5ca263..c3508eee811 100644 --- a/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLD365BasicExt.PermissionSetExt.al +++ b/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLD365BasicExt.PermissionSetExt.al @@ -42,6 +42,8 @@ permissionsetextension 42800 "SL D365 Basic Ext." extends "D365 BASIC" tabledata "SL Hist. LotSerT Archive" = R, tabledata "SL Hist. Migration Cur. Status" = R, tabledata "SL Hist. Migration Step Status" = R, + tabledata "SL Hist. PJEmploy" = R, + tabledata "SL Hist. PJProj" = R, tabledata "SL Hist. PJTran" = R, tabledata "SL Hist. PJTranEx" = R, tabledata "SL Hist. POReceipt" = R, diff --git a/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLD365FullAccessExt.PermissionSetExt.al b/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLD365FullAccessExt.PermissionSetExt.al index 3c7621a5ab7..78303eba9bc 100644 --- a/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLD365FullAccessExt.PermissionSetExt.al +++ b/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLD365FullAccessExt.PermissionSetExt.al @@ -40,6 +40,8 @@ permissionsetextension 42801 "SL D365 Full Access Ext." extends "D365 FULL ACCES tabledata "SL Hist. LotSerT Archive" = RIMD, tabledata "SL Hist. Migration Cur. Status" = RIMD, tabledata "SL Hist. Migration Step Status" = RIMD, + tabledata "SL Hist. PJEmploy" = RIMD, + tabledata "SL Hist. PJProj" = RIMD, tabledata "SL Hist. PJTran" = RIMD, tabledata "SL Hist. PJTranEx" = RIMD, tabledata "SL Hist. POReceipt" = RIMD, diff --git a/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLHistoricalQuerys.permissionset.al b/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLHistoricalQuerys.permissionset.al index 9af0c6d345d..a802121f66b 100644 --- a/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLHistoricalQuerys.permissionset.al +++ b/src/Apps/W1/DynamicsSLHistoricalData/app/Permissions/SLHistoricalQuerys.permissionset.al @@ -63,6 +63,8 @@ permissionset 42801 "SL Historical Querys" tabledata "SL Hist. LotSerT Archive" = RIMD, tabledata "SL Hist. Migration Cur. Status" = RIMD, tabledata "SL Hist. Migration Step Status" = RIMD, + tabledata "SL Hist. PJEmploy" = RIMD, + tabledata "SL Hist. PJProj" = RIMD, tabledata "SL Hist. PJTran" = RIMD, tabledata "SL Hist. PJTranEx" = RIMD, tabledata "SL Hist. POReceipt" = RIMD, @@ -103,6 +105,8 @@ permissionset 42801 "SL Historical Querys" table "SL Hist. LotSerT Archive" = X, table "SL Hist. Migration Cur. Status" = X, table "SL Hist. Migration Step Status" = X, + table "SL Hist. PJEmploy" = X, + table "SL Hist. PJProj" = X, table "SL Hist. PJTran" = X, table "SL Hist. PJTranEx" = X, table "SL Hist. POReceipt" = X, diff --git a/src/Apps/W1/MasterDataManagement/test library/src/LibraryMasterDataMgt.Codeunit.al b/src/Apps/W1/MasterDataManagement/test library/src/LibraryMasterDataMgt.Codeunit.al index 4716511930b..8d5c19d0103 100644 --- a/src/Apps/W1/MasterDataManagement/test library/src/LibraryMasterDataMgt.Codeunit.al +++ b/src/Apps/W1/MasterDataManagement/test library/src/LibraryMasterDataMgt.Codeunit.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 139757 "Library - Master Data Mgt." +#pragma warning restore AS0011 { Access = Public; diff --git a/src/Apps/W1/MasterDataManagement/test library/src/MDMTestTableA.Table.al b/src/Apps/W1/MasterDataManagement/test library/src/MDMTestTableA.Table.al index 445bfa8f36c..7bad4c2e0d2 100644 --- a/src/Apps/W1/MasterDataManagement/test library/src/MDMTestTableA.Table.al +++ b/src/Apps/W1/MasterDataManagement/test library/src/MDMTestTableA.Table.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 139757 "MDM Test Table A" +#pragma warning restore AS0103, PTE0004 { DataClassification = SystemMetadata; diff --git a/src/Apps/W1/MasterDataManagement/test library/src/MDMTestTableB.Table.al b/src/Apps/W1/MasterDataManagement/test library/src/MDMTestTableB.Table.al index d825355beb4..079670e41a5 100644 --- a/src/Apps/W1/MasterDataManagement/test library/src/MDMTestTableB.Table.al +++ b/src/Apps/W1/MasterDataManagement/test library/src/MDMTestTableB.Table.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 139758 "MDM Test Table B" +#pragma warning restore AS0103, PTE0004 { DataClassification = SystemMetadata; diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/D365BASICISVQuickBooksDataMigration.PermissionSetExt.al b/src/Apps/W1/QBMigration/app/src/Permissions/D365BASICISVQuickBooksDataMigration.PermissionSetExt.al index 5cf00261d03..d4d3a0faa2a 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/D365BASICISVQuickBooksDataMigration.PermissionSetExt.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/D365BASICISVQuickBooksDataMigration.PermissionSetExt.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 1632 "D365 BASIC ISVQuickBooks Data Migration" extends "D365 BASIC ISV" +#pragma warning restore AS0011 { Permissions = tabledata "MigrationQB Account" = RIMD, tabledata "MigrationQB Account Setup" = RIMD, diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/D365BASICQuickBooksDataMigration.PermissionSetExt.al b/src/Apps/W1/QBMigration/app/src/Permissions/D365BASICQuickBooksDataMigration.PermissionSetExt.al index 0f36327bd4b..f27fa31e832 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/D365BASICQuickBooksDataMigration.PermissionSetExt.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/D365BASICQuickBooksDataMigration.PermissionSetExt.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 46049 "D365 BASICQuickBooks Data Migration" extends "D365 BASIC" +#pragma warning restore AS0011 { Permissions = tabledata "MigrationQB Account" = RIMD, tabledata "MigrationQB Account Setup" = RIMD, diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/D365BUSFULLACCESSQuickBooksDataMigration.PermissionSetExt.al b/src/Apps/W1/QBMigration/app/src/Permissions/D365BUSFULLACCESSQuickBooksDataMigration.PermissionSetExt.al index 878dfc3c9be..7ea7a6d24c7 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/D365BUSFULLACCESSQuickBooksDataMigration.PermissionSetExt.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/D365BUSFULLACCESSQuickBooksDataMigration.PermissionSetExt.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 3998 "D365 BUS FULL ACCESSQuickBooks Data Migration" extends "D365 BUS FULL ACCESS" +#pragma warning restore AS0011 { Permissions = tabledata "MigrationQB Account" = RIMD, tabledata "MigrationQB Account Setup" = RIMD, diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/D365BUSPREMIUMQuickBooksDataMigration.PermissionSetExt.al b/src/Apps/W1/QBMigration/app/src/Permissions/D365BUSPREMIUMQuickBooksDataMigration.PermissionSetExt.al index 7e0d4e4d29f..c5d05b6271e 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/D365BUSPREMIUMQuickBooksDataMigration.PermissionSetExt.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/D365BUSPREMIUMQuickBooksDataMigration.PermissionSetExt.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 44603 "D365 BUS PREMIUMQuickBooks Data Migration" extends "D365 BUS PREMIUM" +#pragma warning restore AS0011 { Permissions = tabledata "MigrationQB Account" = RIMD, tabledata "MigrationQB Account Setup" = RIMD, diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/D365FULLACCESSQuickBooksDataMigration.PermissionSetExt.al b/src/Apps/W1/QBMigration/app/src/Permissions/D365FULLACCESSQuickBooksDataMigration.PermissionSetExt.al index 8d8512a16fb..784e4e5d287 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/D365FULLACCESSQuickBooksDataMigration.PermissionSetExt.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/D365FULLACCESSQuickBooksDataMigration.PermissionSetExt.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 26134 "D365 FULL ACCESSQuickBooks Data Migration" extends "D365 FULL ACCESS" +#pragma warning restore AS0011 { Permissions = tabledata "MigrationQB Account" = RIMD, tabledata "MigrationQB Account Setup" = RIMD, diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/D365READQuickBooksDataMigration.PermissionSetExt.al b/src/Apps/W1/QBMigration/app/src/Permissions/D365READQuickBooksDataMigration.PermissionSetExt.al index b052d596bf3..c50b2709d16 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/D365READQuickBooksDataMigration.PermissionSetExt.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/D365READQuickBooksDataMigration.PermissionSetExt.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 20875 "D365 READQuickBooks Data Migration" extends "D365 READ" +#pragma warning restore AS0011 { Permissions = tabledata "MigrationQB Account" = R, tabledata "MigrationQB Account Setup" = R, diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/D365TEAMMEMBERQuickBooksDataMigration.PermissionSetExt.al b/src/Apps/W1/QBMigration/app/src/Permissions/D365TEAMMEMBERQuickBooksDataMigration.PermissionSetExt.al index c7d4ba0512a..919095744e7 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/D365TEAMMEMBERQuickBooksDataMigration.PermissionSetExt.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/D365TEAMMEMBERQuickBooksDataMigration.PermissionSetExt.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 16491 "D365 TEAM MEMBERQuickBooks Data Migration" extends "D365 TEAM MEMBER" +#pragma warning restore AS0011 { Permissions = tabledata "MigrationQB Account" = RIMD, tabledata "MigrationQB Account Setup" = RIMD, diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/INTELLIGENTCLOUDQuickBooksDataMigration.PermissionSetExt.al b/src/Apps/W1/QBMigration/app/src/Permissions/INTELLIGENTCLOUDQuickBooksDataMigration.PermissionSetExt.al index 7e90af21372..acec6a35924 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/INTELLIGENTCLOUDQuickBooksDataMigration.PermissionSetExt.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/INTELLIGENTCLOUDQuickBooksDataMigration.PermissionSetExt.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionsetextension 27224 "INTELLIGENT CLOUDQuickBooks Data Migration" extends "INTELLIGENT CLOUD" +#pragma warning restore AS0011 { Permissions = tabledata "MigrationQB Account" = RIMD, tabledata "MigrationQB Account Setup" = RIMD, diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationEdit.PermissionSet.al b/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationEdit.PermissionSet.al index 9cb7c7cc00b..c62e3b8e25b 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationEdit.PermissionSet.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationEdit.PermissionSet.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionset 27225 "QBMigration - Edit" +#pragma warning restore AS0011 { Assignable = false; Access = Public; diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationObjects.PermissionSet.al b/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationObjects.PermissionSet.al index 6b5f2ee7b0e..414497c51b4 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationObjects.PermissionSet.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationObjects.PermissionSet.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionset 27226 "QBMigration - Objects" +#pragma warning restore AS0011 { Assignable = false; Access = Public; diff --git a/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationRead.PermissionSet.al b/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationRead.PermissionSet.al index 74a85f75d38..eebc2f907c1 100644 --- a/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationRead.PermissionSet.al +++ b/src/Apps/W1/QBMigration/app/src/Permissions/QBMigrationRead.PermissionSet.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. permissionset 27227 "QBMigration - Read" +#pragma warning restore AS0011 { Assignable = false; Access = Public; diff --git a/src/Apps/W1/QBMigration/app/src/Support/MSQBODataMigration.Page.al b/src/Apps/W1/QBMigration/app/src/Support/MSQBODataMigration.Page.al index 50140259cb7..8dd8afd38a1 100644 --- a/src/Apps/W1/QBMigration/app/src/Support/MSQBODataMigration.Page.al +++ b/src/Apps/W1/QBMigration/app/src/Support/MSQBODataMigration.Page.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. page 1830 "MS - QBO Data Migration" +#pragma warning restore AS0011 { Caption = 'QuickBooks Online Migration Setup'; DeleteAllowed = false; diff --git a/src/Apps/W1/QBMigration/app/src/Support/MigrateQBOWizardIntegration.Codeunit.al b/src/Apps/W1/QBMigration/app/src/Support/MigrateQBOWizardIntegration.Codeunit.al index 124c1e0d8b2..8fd0e4b8bce 100644 --- a/src/Apps/W1/QBMigration/app/src/Support/MigrateQBOWizardIntegration.Codeunit.al +++ b/src/Apps/W1/QBMigration/app/src/Support/MigrateQBOWizardIntegration.Codeunit.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 1830 "MigrateQBO Wizard Integration" +#pragma warning restore AS0011 { var MigrationQBMgt: Codeunit "MigrationQB Mgt"; diff --git a/src/Apps/W1/QBMigration/app/src/install/QBMigrationInstall.Codeunit.al b/src/Apps/W1/QBMigration/app/src/install/QBMigrationInstall.Codeunit.al index f78ce534169..3c7a9212ea1 100644 --- a/src/Apps/W1/QBMigration/app/src/install/QBMigrationInstall.Codeunit.al +++ b/src/Apps/W1/QBMigration/app/src/install/QBMigrationInstall.Codeunit.al @@ -1,5 +1,7 @@ #pragma warning disable AA0247 +#pragma warning disable AS0011 // Accepted: renaming this existing object to add the mandatory affix would break references. Tracked by AB#640773. codeunit 1921 "QB Migration Install" +#pragma warning restore AS0011 { Subtype = install; diff --git a/src/Layers/APAC/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/APAC/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/APAC/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/APAC/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/APAC/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/APAC/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/APAC/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/APAC/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/AT/DemoTool/DemoDataSetup.Table.al b/src/Layers/AT/DemoTool/DemoDataSetup.Table.al index 7821fac0959..1d866ba8d5b 100644 --- a/src/Layers/AT/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/AT/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/AU/DemoTool/DemoDataSetup.Table.al b/src/Layers/AU/DemoTool/DemoDataSetup.Table.al index 1cdb91a34c9..7c317c20f1d 100644 --- a/src/Layers/AU/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/AU/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/BE/DemoTool/DemoDataSetup.Table.al b/src/Layers/BE/DemoTool/DemoDataSetup.Table.al index 9bf8fd6157b..0c3a2794ae6 100644 --- a/src/Layers/BE/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/BE/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/BE/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/BE/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/BE/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/BE/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/BE/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/BE/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/BE/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/BE/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/CA/DemoTool/DemoDataSetup.Table.al b/src/Layers/CA/DemoTool/DemoDataSetup.Table.al index bd303bdb663..d4be9f3d270 100644 --- a/src/Layers/CA/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/CA/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/CH/DemoTool/DemoDataSetup.Table.al b/src/Layers/CH/DemoTool/DemoDataSetup.Table.al index cd290bc242b..b6664cd8381 100644 --- a/src/Layers/CH/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/CH/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/CZ/DemoTool/DemoDataSetup.Table.al b/src/Layers/CZ/DemoTool/DemoDataSetup.Table.al index 960b2d7e0bc..0945fdfaea9 100644 --- a/src/Layers/CZ/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/CZ/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { DataPerCompany = false; ReplicateData = false; diff --git a/src/Layers/CZ/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/CZ/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/CZ/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/CZ/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/CZ/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/CZ/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/CZ/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/CZ/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/DACH/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/DACH/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/DACH/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/DACH/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/DACH/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/DACH/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/DACH/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/DACH/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/DE/DemoTool/DemoDataSetup.Table.al b/src/Layers/DE/DemoTool/DemoDataSetup.Table.al index 31b35a9769e..0db67dc57f2 100644 --- a/src/Layers/DE/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/DE/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/DK/DemoTool/DemoDataSetup.Table.al b/src/Layers/DK/DemoTool/DemoDataSetup.Table.al index ccf19a46132..ab29dcdd64d 100644 --- a/src/Layers/DK/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/DK/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/DK/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/DK/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/DK/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/DK/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/DK/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/DK/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/DK/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/DK/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/ES/DemoTool/DemoDataSetup.Table.al b/src/Layers/ES/DemoTool/DemoDataSetup.Table.al index 64ef889ff6c..eeabea086be 100644 --- a/src/Layers/ES/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/ES/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/ES/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/ES/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/ES/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/ES/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/ES/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/ES/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/ES/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/ES/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/FI/DemoTool/DemoDataSetup.Table.al b/src/Layers/FI/DemoTool/DemoDataSetup.Table.al index 544dc6fdedc..c8593218d95 100644 --- a/src/Layers/FI/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/FI/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/FI/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/FI/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/FI/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/FI/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/FI/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/FI/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/FI/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/FI/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/FR/DemoTool/DemoDataSetup.Table.al b/src/Layers/FR/DemoTool/DemoDataSetup.Table.al index 1f409cd1f7a..89b6a43d805 100644 --- a/src/Layers/FR/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/FR/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/FR/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/FR/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/FR/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/FR/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/FR/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/FR/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/FR/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/FR/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/GB/DemoTool/DemoDataSetup.Table.al b/src/Layers/GB/DemoTool/DemoDataSetup.Table.al index 5bda8dd19c7..2eafc19a2b0 100644 --- a/src/Layers/GB/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/GB/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/GB/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/GB/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/GB/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/GB/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/GB/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/GB/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/GB/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/GB/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/IS/DemoTool/DemoDataSetup.Table.al b/src/Layers/IS/DemoTool/DemoDataSetup.Table.al index 460ca3d7c2c..5a668f2b328 100644 --- a/src/Layers/IS/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/IS/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/IS/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/IS/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/IS/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/IS/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/IS/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/IS/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/IS/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/IS/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/IT/DemoTool/DemoDataSetup.Table.al b/src/Layers/IT/DemoTool/DemoDataSetup.Table.al index ef1cf8d6477..0bcee614013 100644 --- a/src/Layers/IT/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/IT/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/IT/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/IT/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/IT/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/IT/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/IT/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/IT/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/IT/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/IT/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/MX/DemoTool/DemoDataSetup.Table.al b/src/Layers/MX/DemoTool/DemoDataSetup.Table.al index 9c1549fdeb5..d25363fc9ab 100644 --- a/src/Layers/MX/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/MX/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/NA/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/NA/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/NA/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/NA/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/NA/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/NA/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/NA/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/NA/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/NL/DemoTool/DemoDataSetup.Table.al b/src/Layers/NL/DemoTool/DemoDataSetup.Table.al index 4fb72101831..49fb2afbc52 100644 --- a/src/Layers/NL/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/NL/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/NL/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/NL/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/NL/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/NL/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/NL/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/NL/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/NL/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/NL/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/NO/DemoTool/AccSchedulesConversion.Table.al b/src/Layers/NO/DemoTool/AccSchedulesConversion.Table.al index ce4fa193aa3..ffaacc9123d 100644 --- a/src/Layers/NO/DemoTool/AccSchedulesConversion.Table.al +++ b/src/Layers/NO/DemoTool/AccSchedulesConversion.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 160801 "Acc. Schedules Conversion" +#pragma warning restore AS0103, PTE0004 { Caption = 'Acc. Schedules Conversion'; DataClassification = CustomerContent; diff --git a/src/Layers/NO/DemoTool/AnalysisConversion.Table.al b/src/Layers/NO/DemoTool/AnalysisConversion.Table.al index fa84c6ceb37..cbec4097092 100644 --- a/src/Layers/NO/DemoTool/AnalysisConversion.Table.al +++ b/src/Layers/NO/DemoTool/AnalysisConversion.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 160802 "Analysis Conversion" +#pragma warning restore AS0103, PTE0004 { Caption = 'Analysis Conversion'; DataClassification = CustomerContent; diff --git a/src/Layers/NO/DemoTool/DemoDataSetup.Table.al b/src/Layers/NO/DemoTool/DemoDataSetup.Table.al index 89d6e513512..919b385898c 100644 --- a/src/Layers/NO/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/NO/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/NO/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/NO/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/NO/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/NO/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/NO/DemoTool/GLAccountsConversion.Table.al b/src/Layers/NO/DemoTool/GLAccountsConversion.Table.al index 0aa40a6f7f9..bcb22290651 100644 --- a/src/Layers/NO/DemoTool/GLAccountsConversion.Table.al +++ b/src/Layers/NO/DemoTool/GLAccountsConversion.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 160800 "GL Accounts Conversion" +#pragma warning restore AS0103, PTE0004 { Caption = 'GL Accounts Conversion'; DataClassification = CustomerContent; diff --git a/src/Layers/NO/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/NO/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/NO/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/NO/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/NZ/DemoTool/DemoDataSetup.Table.al b/src/Layers/NZ/DemoTool/DemoDataSetup.Table.al index 19d84c0e192..378f8d2455e 100644 --- a/src/Layers/NZ/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/NZ/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/RU/BaseApp/Permissions/local.permissionset.al b/src/Layers/RU/BaseApp/Permissions/local.permissionset.al index d73401bf401..6e7ad447fec 100644 --- a/src/Layers/RU/BaseApp/Permissions/local.permissionset.al +++ b/src/Layers/RU/BaseApp/Permissions/local.permissionset.al @@ -109,5 +109,34 @@ permissionset 1001 "LOCAL" tabledata "VAT Ledger Line" = Rimd, tabledata "VAT Ledger Line CD No." = Rimd, tabledata "VAT Ledger Line Tariff No." = Rimd, - tabledata "Vendor Agreement" = RIMD; + tabledata "Acc. Sched. Expression Buffer" = RIMD, + tabledata "Excel Template Sheet Buffer" = RIMD, + tabledata "Export Log Entry" = RIMD, + tabledata "Format Version" = RIMD, + tabledata "Including In Report" = RIMD, + tabledata "Journal Posting Preview Setup" = RIMD, + tabledata "Key Including In Report" = RIMD, + tabledata "Page Indication XML Element" = RIMD, + tabledata "Person Document" = RIMD, + tabledata "Scalable Table Row" = RIMD, + tabledata "Stat. Report Data Change Log" = RIMD, + tabledata "Stat. Report Excel Sheet" = RIMD, + tabledata "Stat. Report Table Column" = RIMD, + tabledata "Stat. Report Table Row" = RIMD, + tabledata "Statutory Report" = RIMD, + tabledata "Statutory Report Buffer" = RIMD, + tabledata "Statutory Report Data Header" = RIMD, + tabledata "Statutory Report Data Value" = RIMD, + tabledata "Statutory Report Group" = RIMD, + tabledata "Statutory Report Table" = RIMD, + tabledata "Table Individual Requisite" = RIMD, + tabledata "Tax Diff. Corr. Dim. Filter" = RIMD, + tabledata "Tax Diff. FA Buffer" = RIMD, + tabledata "Tax Diff. FA Posting Buffer" = RIMD, + tabledata "Tax Diff. Group" = RIMD, + tabledata "Tax Reg. G/L Corr. Dim. Filter" = RIMD, + tabledata "Taxpayer Document Type" = RIMD, + tabledata "Vendor Agreement" = RIMD, + tabledata "XML Element Expression Line" = RIMD, + tabledata "XML Element Line" = RIMD; } \ No newline at end of file diff --git a/src/Layers/RU/BaseApp/Permissions/localread.permissionset.al b/src/Layers/RU/BaseApp/Permissions/localread.permissionset.al index 6c59b88d4e1..71e43d03501 100644 --- a/src/Layers/RU/BaseApp/Permissions/localread.permissionset.al +++ b/src/Layers/RU/BaseApp/Permissions/localread.permissionset.al @@ -109,5 +109,34 @@ permissionset 1002 "LOCAL READ" tabledata "VAT Ledger Line" = R, tabledata "VAT Ledger Line CD No." = R, tabledata "VAT Ledger Line Tariff No." = R, - tabledata "Vendor Agreement" = R; + tabledata "Acc. Sched. Expression Buffer" = R, + tabledata "Excel Template Sheet Buffer" = R, + tabledata "Export Log Entry" = R, + tabledata "Format Version" = R, + tabledata "Including In Report" = R, + tabledata "Journal Posting Preview Setup" = R, + tabledata "Key Including In Report" = R, + tabledata "Page Indication XML Element" = R, + tabledata "Person Document" = R, + tabledata "Scalable Table Row" = R, + tabledata "Stat. Report Data Change Log" = R, + tabledata "Stat. Report Excel Sheet" = R, + tabledata "Stat. Report Table Column" = R, + tabledata "Stat. Report Table Row" = R, + tabledata "Statutory Report" = R, + tabledata "Statutory Report Buffer" = R, + tabledata "Statutory Report Data Header" = R, + tabledata "Statutory Report Data Value" = R, + tabledata "Statutory Report Group" = R, + tabledata "Statutory Report Table" = R, + tabledata "Table Individual Requisite" = R, + tabledata "Tax Diff. Corr. Dim. Filter" = R, + tabledata "Tax Diff. FA Buffer" = R, + tabledata "Tax Diff. FA Posting Buffer" = R, + tabledata "Tax Diff. Group" = R, + tabledata "Tax Reg. G/L Corr. Dim. Filter" = R, + tabledata "Taxpayer Document Type" = R, + tabledata "Vendor Agreement" = R, + tabledata "XML Element Expression Line" = R, + tabledata "XML Element Line" = R; } \ No newline at end of file diff --git a/src/Layers/RU/DemoTool/DemoDataSetup.Table.al b/src/Layers/RU/DemoTool/DemoDataSetup.Table.al index e81caa17245..0a7b596d2d5 100644 --- a/src/Layers/RU/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/RU/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { DataPerCompany = false; ReplicateData = false; diff --git a/src/Layers/RU/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/RU/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/RU/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/RU/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/RU/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/RU/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/RU/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/RU/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/SE/DemoTool/DemoDataSetup.Table.al b/src/Layers/SE/DemoTool/DemoDataSetup.Table.al index 92e07d6231b..3f28dbde9d4 100644 --- a/src/Layers/SE/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/SE/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/SE/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/SE/DemoTool/GLAccountMapBuffer.Table.al index 6c655821f2b..173943debf9 100644 --- a/src/Layers/SE/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/SE/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'G/L Account Map Buffer'; ReplicateData = false; diff --git a/src/Layers/SE/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/SE/DemoTool/QuantityAllocationBuffer.Table.al index 34f14c6b2e1..00c4893f223 100644 --- a/src/Layers/SE/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/SE/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Quantity Allocation Buffer'; ReplicateData = false; diff --git a/src/Layers/US/DemoTool/DemoDataSetup.Table.al b/src/Layers/US/DemoTool/DemoDataSetup.Table.al index 07b365ec678..c20b53d22be 100644 --- a/src/Layers/US/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/US/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/W1/AlCosting/BWBinContentRef.Table.al b/src/Layers/W1/AlCosting/BWBinContentRef.Table.al index 2695b22ede4..a1b2ec9ba7d 100644 --- a/src/Layers/W1/AlCosting/BWBinContentRef.Table.al +++ b/src/Layers/W1/AlCosting/BWBinContentRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103336 "BW Bin Content Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWItemJournalLineRef.Table.al b/src/Layers/W1/AlCosting/BWItemJournalLineRef.Table.al index 04c84ce5589..da2ca0f773e 100644 --- a/src/Layers/W1/AlCosting/BWItemJournalLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWItemJournalLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103330 "BW Item Journal Line Ref." +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWItemLedgerEntryRef.Table.al b/src/Layers/W1/AlCosting/BWItemLedgerEntryRef.Table.al index 549db46bdc5..b3fc24e5525 100644 --- a/src/Layers/W1/AlCosting/BWItemLedgerEntryRef.Table.al +++ b/src/Layers/W1/AlCosting/BWItemLedgerEntryRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103333 "BW Item Ledger Entry Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWItemRegisterRef.Table.al b/src/Layers/W1/AlCosting/BWItemRegisterRef.Table.al index 2100e934404..45efd0aaa60 100644 --- a/src/Layers/W1/AlCosting/BWItemRegisterRef.Table.al +++ b/src/Layers/W1/AlCosting/BWItemRegisterRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103342 "BW Item Register Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWPInvtPickLineRef.Table.al b/src/Layers/W1/AlCosting/BWPInvtPickLineRef.Table.al index 9b4c1950f59..1ff24f9dd42 100644 --- a/src/Layers/W1/AlCosting/BWPInvtPickLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWPInvtPickLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103344 "BW P. Invt. Pick Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWPInvtPutawayLineRef.Table.al b/src/Layers/W1/AlCosting/BWPInvtPutawayLineRef.Table.al index 0d177437a05..343dabf76d6 100644 --- a/src/Layers/W1/AlCosting/BWPInvtPutawayLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWPInvtPutawayLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103343 "BW P. Invt. Put-away Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWPostedWhseRcptLineRef.Table.al b/src/Layers/W1/AlCosting/BWPostedWhseRcptLineRef.Table.al index f59307d9adf..3c288eb3d4e 100644 --- a/src/Layers/W1/AlCosting/BWPostedWhseRcptLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWPostedWhseRcptLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103338 "BW Posted Whse. Rcpt Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWPostedWhseShpmtLineRef.Table.al b/src/Layers/W1/AlCosting/BWPostedWhseShpmtLineRef.Table.al index 72fe704e141..e0bd6d4b148 100644 --- a/src/Layers/W1/AlCosting/BWPostedWhseShpmtLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWPostedWhseShpmtLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103340 "BW Posted Whse. Shpmt Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWWarehouseActivityLineRef.Table.al b/src/Layers/W1/AlCosting/BWWarehouseActivityLineRef.Table.al index ee5c57110ed..a73dbf11c60 100644 --- a/src/Layers/W1/AlCosting/BWWarehouseActivityLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWWarehouseActivityLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103335 "BW Warehouse Activity Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWWarehouseEntryRef.Table.al b/src/Layers/W1/AlCosting/BWWarehouseEntryRef.Table.al index 023bfa52569..78268dbf107 100644 --- a/src/Layers/W1/AlCosting/BWWarehouseEntryRef.Table.al +++ b/src/Layers/W1/AlCosting/BWWarehouseEntryRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103332 "BW Warehouse Entry Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWWarehouseJournalLineRef.Table.al b/src/Layers/W1/AlCosting/BWWarehouseJournalLineRef.Table.al index 0821011577d..fa68d026840 100644 --- a/src/Layers/W1/AlCosting/BWWarehouseJournalLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWWarehouseJournalLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103331 "BW Warehouse Journal Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWWarehouseReceiptLineRef.Table.al b/src/Layers/W1/AlCosting/BWWarehouseReceiptLineRef.Table.al index 00a5cd677c6..af125f90b9d 100644 --- a/src/Layers/W1/AlCosting/BWWarehouseReceiptLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWWarehouseReceiptLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103337 "BW Warehouse Receipt Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWWarehouseRequestRef.Table.al b/src/Layers/W1/AlCosting/BWWarehouseRequestRef.Table.al index acdec80a227..ffdccf40470 100644 --- a/src/Layers/W1/AlCosting/BWWarehouseRequestRef.Table.al +++ b/src/Layers/W1/AlCosting/BWWarehouseRequestRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103334 "BW Warehouse Request Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWWarehouseShipmentLineRef.Table.al b/src/Layers/W1/AlCosting/BWWarehouseShipmentLineRef.Table.al index 810481a8870..2d915da8dbc 100644 --- a/src/Layers/W1/AlCosting/BWWarehouseShipmentLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWWarehouseShipmentLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103339 "BW Warehouse Shipment Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/BWWhseWorksheetLineRef.Table.al b/src/Layers/W1/AlCosting/BWWhseWorksheetLineRef.Table.al index 54fdb81eaec..2e6a5e3f17d 100644 --- a/src/Layers/W1/AlCosting/BWWhseWorksheetLineRef.Table.al +++ b/src/Layers/W1/AlCosting/BWWhseWorksheetLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103341 "BW Whse. Worksheet Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/GLEntryRef.Table.al b/src/Layers/W1/AlCosting/GLEntryRef.Table.al index 543fcd0acf3..2894066e58e 100644 --- a/src/Layers/W1/AlCosting/GLEntryRef.Table.al +++ b/src/Layers/W1/AlCosting/GLEntryRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103408 "G/L Entry Ref." +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/ItemJournalLineRef.Table.al b/src/Layers/W1/AlCosting/ItemJournalLineRef.Table.al index 2d473ed92c5..b37cd722669 100644 --- a/src/Layers/W1/AlCosting/ItemJournalLineRef.Table.al +++ b/src/Layers/W1/AlCosting/ItemJournalLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103409 "Item Journal Line Ref." +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/ItemLedgerEntryRef.Table.al b/src/Layers/W1/AlCosting/ItemLedgerEntryRef.Table.al index afafb719c2a..a3381a329b0 100644 --- a/src/Layers/W1/AlCosting/ItemLedgerEntryRef.Table.al +++ b/src/Layers/W1/AlCosting/ItemLedgerEntryRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103406 "Item Ledger Entry Ref." +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/ItemRef.Table.al b/src/Layers/W1/AlCosting/ItemRef.Table.al index 75f136b7d3c..8975ea4eee4 100644 --- a/src/Layers/W1/AlCosting/ItemRef.Table.al +++ b/src/Layers/W1/AlCosting/ItemRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103412 "Item Ref." +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/LedgerEntryDimRef.Table.al b/src/Layers/W1/AlCosting/LedgerEntryDimRef.Table.al index 02dfd38a537..5e9064c275d 100644 --- a/src/Layers/W1/AlCosting/LedgerEntryDimRef.Table.al +++ b/src/Layers/W1/AlCosting/LedgerEntryDimRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103410 "Ledger Entry Dim. Ref." +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/PurchaseHeaderRef.Table.al b/src/Layers/W1/AlCosting/PurchaseHeaderRef.Table.al index 533789b6702..700d54dd085 100644 --- a/src/Layers/W1/AlCosting/PurchaseHeaderRef.Table.al +++ b/src/Layers/W1/AlCosting/PurchaseHeaderRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103411 "Purchase Header Ref." +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/QASetup.Table.al b/src/Layers/W1/AlCosting/QASetup.Table.al index e1528082e9b..d7c05623019 100644 --- a/src/Layers/W1/AlCosting/QASetup.Table.al +++ b/src/Layers/W1/AlCosting/QASetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103498 "QA Setup" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/RequiredInputData.Table.al b/src/Layers/W1/AlCosting/RequiredInputData.Table.al index 1e25c9abf8f..b912fc0a283 100644 --- a/src/Layers/W1/AlCosting/RequiredInputData.Table.al +++ b/src/Layers/W1/AlCosting/RequiredInputData.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103405 "Required Input Data" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/SKURef.Table.al b/src/Layers/W1/AlCosting/SKURef.Table.al index ab00168871a..be4c91dab2f 100644 --- a/src/Layers/W1/AlCosting/SKURef.Table.al +++ b/src/Layers/W1/AlCosting/SKURef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103413 "SKU Ref." +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/TempReferenceData.Table.al b/src/Layers/W1/AlCosting/TempReferenceData.Table.al index 8ff08f3ba76..cd8e371b46d 100644 --- a/src/Layers/W1/AlCosting/TempReferenceData.Table.al +++ b/src/Layers/W1/AlCosting/TempReferenceData.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103497 "Temp. Reference Data" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/TestCase.Table.al b/src/Layers/W1/AlCosting/TestCase.Table.al index fcf88704d8d..8bc0dd1e568 100644 --- a/src/Layers/W1/AlCosting/TestCase.Table.al +++ b/src/Layers/W1/AlCosting/TestCase.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103402 "Test Case" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/TestIteration.Table.al b/src/Layers/W1/AlCosting/TestIteration.Table.al index 431acea71d3..03bd52a361f 100644 --- a/src/Layers/W1/AlCosting/TestIteration.Table.al +++ b/src/Layers/W1/AlCosting/TestIteration.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103404 "Test Iteration" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/TestscriptResult.Table.103001.al b/src/Layers/W1/AlCosting/TestscriptResult.Table.103001.al index 34bcbea9f46..860ddfc60c6 100644 --- a/src/Layers/W1/AlCosting/TestscriptResult.Table.103001.al +++ b/src/Layers/W1/AlCosting/TestscriptResult.Table.103001.al @@ -1,5 +1,7 @@ #pragma warning disable AA0215 +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103001 "Testscript Result" +#pragma warning restore AS0103, PTE0004 #pragma warning restore AA0215 { // Unsupported version tags: diff --git a/src/Layers/W1/AlCosting/TestscriptResult.Table.103403.al b/src/Layers/W1/AlCosting/TestscriptResult.Table.103403.al index f7d76a5f3ff..a5ff05a21f0 100644 --- a/src/Layers/W1/AlCosting/TestscriptResult.Table.103403.al +++ b/src/Layers/W1/AlCosting/TestscriptResult.Table.103403.al @@ -1,5 +1,7 @@ #pragma warning disable AA0215 +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103403 "_Testscript Result" +#pragma warning restore AS0103, PTE0004 #pragma warning restore AA0215 { // Unsupported version tags: diff --git a/src/Layers/W1/AlCosting/TestscriptSetup.Table.al b/src/Layers/W1/AlCosting/TestscriptSetup.Table.al index d67cd360d7d..007ab6caea8 100644 --- a/src/Layers/W1/AlCosting/TestscriptSetup.Table.al +++ b/src/Layers/W1/AlCosting/TestscriptSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103002 "Testscript Setup" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/UseCase.Table.al b/src/Layers/W1/AlCosting/UseCase.Table.al index bd57139bf05..85a28a9cc82 100644 --- a/src/Layers/W1/AlCosting/UseCase.Table.al +++ b/src/Layers/W1/AlCosting/UseCase.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103401 "Use Case" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/ValueEntryRef.Table.al b/src/Layers/W1/AlCosting/ValueEntryRef.Table.al index 54bf04d22ba..72f6d17f821 100644 --- a/src/Layers/W1/AlCosting/ValueEntryRef.Table.al +++ b/src/Layers/W1/AlCosting/ValueEntryRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103407 "Value Entry Ref." +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSBinContentRef.Table.al b/src/Layers/W1/AlCosting/WMSBinContentRef.Table.al index 3e4c99a6309..ea242686ec3 100644 --- a/src/Layers/W1/AlCosting/WMSBinContentRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSBinContentRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103314 "WMS Bin Content Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSItemJournalLineRef.Table.al b/src/Layers/W1/AlCosting/WMSItemJournalLineRef.Table.al index a3a86b9ab33..de9f8168ec0 100644 --- a/src/Layers/W1/AlCosting/WMSItemJournalLineRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSItemJournalLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103315 "WMS Item Journal Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSItemLedgerEntryRef.Table.al b/src/Layers/W1/AlCosting/WMSItemLedgerEntryRef.Table.al index b69a5519143..1ae79f2a8d1 100644 --- a/src/Layers/W1/AlCosting/WMSItemLedgerEntryRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSItemLedgerEntryRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103311 "WMS Item Ledger Entry Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSPostedWhseRcptLineRef.Table.al b/src/Layers/W1/AlCosting/WMSPostedWhseRcptLineRef.Table.al index 5f4a202f64d..63243d7eefe 100644 --- a/src/Layers/W1/AlCosting/WMSPostedWhseRcptLineRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSPostedWhseRcptLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103317 "WMS Posted Whse. Rcpt Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSPostedWhseShptLineRef.Table.al b/src/Layers/W1/AlCosting/WMSPostedWhseShptLineRef.Table.al index f22ff20f852..c72589ed9bd 100644 --- a/src/Layers/W1/AlCosting/WMSPostedWhseShptLineRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSPostedWhseShptLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103319 "WMS Posted Whse. Shpt Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSProdOrderComponentRef.Table.al b/src/Layers/W1/AlCosting/WMSProdOrderComponentRef.Table.al index 32c55f143c0..017bf60779c 100644 --- a/src/Layers/W1/AlCosting/WMSProdOrderComponentRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSProdOrderComponentRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103321 "WMS Prod. Order Component Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSReservationEntryRef.Table.al b/src/Layers/W1/AlCosting/WMSReservationEntryRef.Table.al index 2c09e92ce6d..54baecce43b 100644 --- a/src/Layers/W1/AlCosting/WMSReservationEntryRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSReservationEntryRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103322 "WMS Reservation Entry Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSTrackingSpecificationRef.Table.al b/src/Layers/W1/AlCosting/WMSTrackingSpecificationRef.Table.al index 8b34ff41e91..cdbd79eeca5 100644 --- a/src/Layers/W1/AlCosting/WMSTrackingSpecificationRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSTrackingSpecificationRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103323 "WMS Tracking Specification Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSWarehouseEntryRef.Table.al b/src/Layers/W1/AlCosting/WMSWarehouseEntryRef.Table.al index e4555ed46ed..37ebf76cd2d 100644 --- a/src/Layers/W1/AlCosting/WMSWarehouseEntryRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSWarehouseEntryRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103310 "WMS Warehouse Entry Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSWarehouseJournalLineRef.Table.al b/src/Layers/W1/AlCosting/WMSWarehouseJournalLineRef.Table.al index 95ab47d5115..70d2509ecbf 100644 --- a/src/Layers/W1/AlCosting/WMSWarehouseJournalLineRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSWarehouseJournalLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103312 "WMS Warehouse Journal Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSWarehouseReceiptLineRef.Table.al b/src/Layers/W1/AlCosting/WMSWarehouseReceiptLineRef.Table.al index 72923ab2fef..f96efcdeaca 100644 --- a/src/Layers/W1/AlCosting/WMSWarehouseReceiptLineRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSWarehouseReceiptLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103316 "WMS Warehouse Receipt Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSWhseActivityLineRef.Table.al b/src/Layers/W1/AlCosting/WMSWhseActivityLineRef.Table.al index e692d6e176e..6a9043afbe9 100644 --- a/src/Layers/W1/AlCosting/WMSWhseActivityLineRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSWhseActivityLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103313 "WMS Whse. Activity Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSWhseShipmentLineRef.Table.al b/src/Layers/W1/AlCosting/WMSWhseShipmentLineRef.Table.al index 1e111f52604..fa8debce1a8 100644 --- a/src/Layers/W1/AlCosting/WMSWhseShipmentLineRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSWhseShipmentLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103318 "WMS Whse. Shipment Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WMSWhseWorksheetLineRef.Table.al b/src/Layers/W1/AlCosting/WMSWhseWorksheetLineRef.Table.al index b4fc0f5d91d..1ccb739f9e6 100644 --- a/src/Layers/W1/AlCosting/WMSWhseWorksheetLineRef.Table.al +++ b/src/Layers/W1/AlCosting/WMSWhseWorksheetLineRef.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103320 "WMS Whse. Worksheet Line Ref" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WhseQASetup.Table.al b/src/Layers/W1/AlCosting/WhseQASetup.Table.al index 3c65e1d6c53..7331583c308 100644 --- a/src/Layers/W1/AlCosting/WhseQASetup.Table.al +++ b/src/Layers/W1/AlCosting/WhseQASetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103304 "Whse. QA Setup" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WhseTempReferenceData.Table.al b/src/Layers/W1/AlCosting/WhseTempReferenceData.Table.al index 27d49817755..c9e218e237f 100644 --- a/src/Layers/W1/AlCosting/WhseTempReferenceData.Table.al +++ b/src/Layers/W1/AlCosting/WhseTempReferenceData.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103305 "Whse. Temp. Reference Data" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WhseTestCase.Table.al b/src/Layers/W1/AlCosting/WhseTestCase.Table.al index c07076a0874..74b44e3ac17 100644 --- a/src/Layers/W1/AlCosting/WhseTestCase.Table.al +++ b/src/Layers/W1/AlCosting/WhseTestCase.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103301 "Whse. Test Case" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WhseTestIteration.Table.al b/src/Layers/W1/AlCosting/WhseTestIteration.Table.al index 5f7dec50923..5379e4d6cd1 100644 --- a/src/Layers/W1/AlCosting/WhseTestIteration.Table.al +++ b/src/Layers/W1/AlCosting/WhseTestIteration.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103302 "Whse. Test Iteration" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WhseTestscriptResult.Table.al b/src/Layers/W1/AlCosting/WhseTestscriptResult.Table.al index e19bf1ecf28..9fba63bc85f 100644 --- a/src/Layers/W1/AlCosting/WhseTestscriptResult.Table.al +++ b/src/Layers/W1/AlCosting/WhseTestscriptResult.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103303 "Whse. Testscript Result" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/AlCosting/WhseUseCase.Table.al b/src/Layers/W1/AlCosting/WhseUseCase.Table.al index f99901a056f..8af592e3811 100644 --- a/src/Layers/W1/AlCosting/WhseUseCase.Table.al +++ b/src/Layers/W1/AlCosting/WhseUseCase.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 103300 "Whse. Use Case" +#pragma warning restore AS0103, PTE0004 { // Unsupported version tags: // NA: Skipped for Execution diff --git a/src/Layers/W1/DemoTool/CodeSort.Table.al b/src/Layers/W1/DemoTool/CodeSort.Table.al index 9f27b2c675c..cffc69f85a7 100644 --- a/src/Layers/W1/DemoTool/CodeSort.Table.al +++ b/src/Layers/W1/DemoTool/CodeSort.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101902 "Code Sort" +#pragma warning restore AS0103, PTE0004 { Caption = 'Code Sort'; ReplicateData = false; diff --git a/src/Layers/W1/DemoTool/DemoDataFile.Table.al b/src/Layers/W1/DemoTool/DemoDataFile.Table.al index db8fb4d0438..b87aed768ef 100644 --- a/src/Layers/W1/DemoTool/DemoDataFile.Table.al +++ b/src/Layers/W1/DemoTool/DemoDataFile.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101905 "Demo Data File" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data File'; ReplicateData = false; diff --git a/src/Layers/W1/DemoTool/DemoDataSetup.Table.al b/src/Layers/W1/DemoTool/DemoDataSetup.Table.al index fe8ed8dfcb4..eaa4a4528dd 100644 --- a/src/Layers/W1/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/W1/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { DataPerCompany = false; ReplicateData = false; diff --git a/src/Layers/W1/DemoTool/DemoDataTables.Table.al b/src/Layers/W1/DemoTool/DemoDataTables.Table.al index bbb605edf63..1b9628483ab 100644 --- a/src/Layers/W1/DemoTool/DemoDataTables.Table.al +++ b/src/Layers/W1/DemoTool/DemoDataTables.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101906 "Demo Data Tables" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Tables'; ReplicateData = false; diff --git a/src/Layers/W1/DemoTool/DevSourceInfo.Table.al b/src/Layers/W1/DemoTool/DevSourceInfo.Table.al index 18f191213b9..81f4af74da8 100644 --- a/src/Layers/W1/DemoTool/DevSourceInfo.Table.al +++ b/src/Layers/W1/DemoTool/DevSourceInfo.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101897 DevSourceInfo +#pragma warning restore AS0103, PTE0004 { Caption = 'DevSourceInfo'; DataPerCompany = false; diff --git a/src/Layers/W1/DemoTool/GLAccountMapBuffer.Table.al b/src/Layers/W1/DemoTool/GLAccountMapBuffer.Table.al index 50b72541a99..d71aad5ac68 100644 --- a/src/Layers/W1/DemoTool/GLAccountMapBuffer.Table.al +++ b/src/Layers/W1/DemoTool/GLAccountMapBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101903 "G/L Account Map Buffer" +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/DemoTool/ItemLineBuffer.Table.al b/src/Layers/W1/DemoTool/ItemLineBuffer.Table.al index 366e99a3fd0..12bcde9feab 100644 --- a/src/Layers/W1/DemoTool/ItemLineBuffer.Table.al +++ b/src/Layers/W1/DemoTool/ItemLineBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122001 "Item Line Buffer" +#pragma warning restore AS0103, PTE0004 { Caption = 'Item Line Buffer'; ReplicateData = false; diff --git a/src/Layers/W1/DemoTool/ItemSalesData.Table.al b/src/Layers/W1/DemoTool/ItemSalesData.Table.al index 9697c8cff73..846d48da334 100644 --- a/src/Layers/W1/DemoTool/ItemSalesData.Table.al +++ b/src/Layers/W1/DemoTool/ItemSalesData.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122003 "Item Sales Data" +#pragma warning restore AS0103, PTE0004 { Caption = 'Item Sales Data'; ReplicateData = false; diff --git a/src/Layers/W1/DemoTool/QuantityAllocationBuffer.Table.al b/src/Layers/W1/DemoTool/QuantityAllocationBuffer.Table.al index e6bb211d937..7ee277d2074 100644 --- a/src/Layers/W1/DemoTool/QuantityAllocationBuffer.Table.al +++ b/src/Layers/W1/DemoTool/QuantityAllocationBuffer.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 122002 "Quantity Allocation Buffer" +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/DemoTool/TemporaryCurrencyData.Table.al b/src/Layers/W1/DemoTool/TemporaryCurrencyData.Table.al index 9463668acbd..40d5aa948bc 100644 --- a/src/Layers/W1/DemoTool/TemporaryCurrencyData.Table.al +++ b/src/Layers/W1/DemoTool/TemporaryCurrencyData.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101904 "Temporary Currency Data" +#pragma warning restore AS0103, PTE0004 { Caption = 'Temporary Currency Data'; ReplicateData = false; diff --git a/src/Layers/W1/Tests/Misc/CountyCaptionTest.Table.al b/src/Layers/W1/Tests/Misc/CountyCaptionTest.Table.al index 7058243da51..a743b733c94 100644 --- a/src/Layers/W1/Tests/Misc/CountyCaptionTest.Table.al +++ b/src/Layers/W1/Tests/Misc/CountyCaptionTest.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 134449 "County Caption Test" +#pragma warning restore AS0103, PTE0004 { DataClassification = CustomerContent; ReplicateData = false; diff --git a/src/Layers/W1/Tests/Misc/TableWithFieldCaption.Table.al b/src/Layers/W1/Tests/Misc/TableWithFieldCaption.Table.al index 963437fd679..09ae9ed9106 100644 --- a/src/Layers/W1/Tests/Misc/TableWithFieldCaption.Table.al +++ b/src/Layers/W1/Tests/Misc/TableWithFieldCaption.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 135001 TableWithFieldCaption +#pragma warning restore AS0103, PTE0004 { DataClassification = SystemMetadata; ReplicateData = false; diff --git a/src/Layers/W1/Tests/TestLibraries/ReferenceDataLog.Table.al b/src/Layers/W1/Tests/TestLibraries/ReferenceDataLog.Table.al index 735648825af..e5cffb1e18e 100644 --- a/src/Layers/W1/Tests/TestLibraries/ReferenceDataLog.Table.al +++ b/src/Layers/W1/Tests/TestLibraries/ReferenceDataLog.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 130062 "Reference Data Log" +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/TestLibraries/Referencedata.Table.al b/src/Layers/W1/Tests/TestLibraries/Referencedata.Table.al index 967a67f2c64..d5020d0ee6a 100644 --- a/src/Layers/W1/Tests/TestLibraries/Referencedata.Table.al +++ b/src/Layers/W1/Tests/TestLibraries/Referencedata.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 130061 "Reference data" +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/TestLibraries/Referencedatafieldlist.Table.al b/src/Layers/W1/Tests/TestLibraries/Referencedatafieldlist.Table.al index caaf1675142..d87bc2efd39 100644 --- a/src/Layers/W1/Tests/TestLibraries/Referencedatafieldlist.Table.al +++ b/src/Layers/W1/Tests/TestLibraries/Referencedatafieldlist.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 130060 "Reference data - field list" +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/TestLibraries/TestTableA.Table.al b/src/Layers/W1/Tests/TestLibraries/TestTableA.Table.al index 5cac1659e14..ad83b0f5b81 100644 --- a/src/Layers/W1/Tests/TestLibraries/TestTableA.Table.al +++ b/src/Layers/W1/Tests/TestLibraries/TestTableA.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 132510 TestTableA +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/TestLibraries/TestTableB.Table.al b/src/Layers/W1/Tests/TestLibraries/TestTableB.Table.al index 01514d1115d..af8628d7fbe 100644 --- a/src/Layers/W1/Tests/TestLibraries/TestTableB.Table.al +++ b/src/Layers/W1/Tests/TestLibraries/TestTableB.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 132511 TestTableB +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/TestLibraries/TestTableC.Table.al b/src/Layers/W1/Tests/TestLibraries/TestTableC.Table.al index 32e097ced93..fa25e2af492 100644 --- a/src/Layers/W1/Tests/TestLibraries/TestTableC.Table.al +++ b/src/Layers/W1/Tests/TestLibraries/TestTableC.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 132512 TestTableC +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/TestLibraries/WatchEmployee.Table.al b/src/Layers/W1/Tests/TestLibraries/WatchEmployee.Table.al index 4cdbc995a78..05d192a8953 100644 --- a/src/Layers/W1/Tests/TestLibraries/WatchEmployee.Table.al +++ b/src/Layers/W1/Tests/TestLibraries/WatchEmployee.Table.al @@ -1,6 +1,8 @@ namespace Microsoft.HumanResources.Test; +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 131322 "Watch Employee" +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/TestLibraries/WatchEmployeeLedgerEntry.Table.al b/src/Layers/W1/Tests/TestLibraries/WatchEmployeeLedgerEntry.Table.al index 8edafe47706..eefaefa5868 100644 --- a/src/Layers/W1/Tests/TestLibraries/WatchEmployeeLedgerEntry.Table.al +++ b/src/Layers/W1/Tests/TestLibraries/WatchEmployeeLedgerEntry.Table.al @@ -1,6 +1,8 @@ namespace Microsoft.HumanResources.Test; +#pragma warning disable AS0103, PTE0004 // Accepted: this test-only table is intentionally not exposed through production permission sets. Tracked by AB#640773. table 131323 "Watch Employee Ledger Entry" +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGCRMConnectionSetup.Table.al b/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGCRMConnectionSetup.Table.al index 4297f2ca4db..ee7ea03ae64 100644 --- a/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGCRMConnectionSetup.Table.al +++ b/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGCRMConnectionSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 132802 "UPG - CRM Connection Setup" +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGIntegrationTableMapping.Table.al b/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGIntegrationTableMapping.Table.al index 7d1d19dc210..0cb913e0b2e 100644 --- a/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGIntegrationTableMapping.Table.al +++ b/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGIntegrationTableMapping.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 132803 "UPG-Integration Table Mapping" +#pragma warning restore AS0103, PTE0004 { ReplicateData = false; DataClassification = CustomerContent; diff --git a/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGUpgradeTag.Table.al b/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGUpgradeTag.Table.al index 62037e86956..c3161ccdfc9 100644 --- a/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGUpgradeTag.Table.al +++ b/src/Layers/W1/Tests/Upgrade/DataSetup/BufferTables/UPGUpgradeTag.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 132801 "UPG - Upgrade Tag" +#pragma warning restore AS0103, PTE0004 { DataPerCompany = false; ReplicateData = false; diff --git a/src/Layers/W1/Tests/Upgrade/Framework/UpgradeStatus.Table.al b/src/Layers/W1/Tests/Upgrade/Framework/UpgradeStatus.Table.al index 29f2b99b3c2..7ce02023667 100644 --- a/src/Layers/W1/Tests/Upgrade/Framework/UpgradeStatus.Table.al +++ b/src/Layers/W1/Tests/Upgrade/Framework/UpgradeStatus.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 132800 "Upgrade Status" +#pragma warning restore AS0103, PTE0004 { DataClassification = SystemMetadata; DataPerCompany = false; From b56a7d7f4a7d7da22b3c63e1e51138bda8ba36d7 Mon Sep 17 00:00:00 2001 From: Jesper Schulz-Wedde Date: Wed, 9 Sep 2026 11:24:48 +0200 Subject: [PATCH 2/7] Promote four rules and remove unreachable code Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../Journal/PostDatedChecks.Page.al | 4 - .../Journal/PostDatedChecksPurchases.Page.al | 4 - .../Prepayment/ERMPrepaymentIV.Codeunit.al | 1 - .../CreateAccScheduleLine.Codeunit.al | 159 --------------- .../CreateAccScheduleName.Codeunit.al | 11 - .../CreateServiceBaseCalendar.Codeunit.al | 31 --- .../CreateServiceBaseCalendar.Codeunit.al | 38 ---- .../ERMAccountScheduleII.Codeunit.al | 22 -- .../ERM/SEPACTGenJnlLineErrors.Codeunit.al | 78 ------- .../CZ/Tests/Misc/CountryRegionUT.Codeunit.al | 10 - .../ES/Tests/Local/CarteraPosting.Codeunit.al | 2 - .../Prepayment/ERMPrepaymentIV.Codeunit.al | 1 - .../ERM-Finance/ERMSourceCurrency.Codeunit.al | 103 ---------- .../OfficialjournalledgerSumm.Report.al | 1 - .../Payables/RemittanceImportBank.Report.al | 1 - .../CreateVATStatementLine.Codeunit.al | 56 ----- .../Local/CreateVATPurchLedAdSh.Report.al | 136 ------------- .../DemoTool/AdjustInventoryValue.Codeunit.al | 3 - .../CreateAccScheduleLine.Codeunit.al | 177 ---------------- .../CreateAccScheduleName.Codeunit.al | 11 - .../DemoTool/CreateFAAllocation.Codeunit.al | 9 - .../CreateStdGenJournalLine.Codeunit.al | 8 - .../CreateStdPurchaseLine.Codeunit.al | 12 -- .../InterfaceTaxAccounting.Codeunit.al | 7 - .../RU/DemoTool/ModifyCurrency.Codeunit.al | 9 - .../ERM-Finance/ERMSourceCurrency.Codeunit.al | 192 ------------------ .../Prepayment/ERMPrepaymentIV.Codeunit.al | 1 - .../RU/Tests/VAT/ERMVATonJnl.Codeunit.al | 3 - .../Prepayment/ERMPrepaymentIV.Codeunit.al | 1 - src/rulesets/base.ruleset.json | 19 -- 30 files changed, 1110 deletions(-) diff --git a/src/Layers/APAC/BaseApp/Local/FinancialMgt/GeneralLedger/Journal/PostDatedChecks.Page.al b/src/Layers/APAC/BaseApp/Local/FinancialMgt/GeneralLedger/Journal/PostDatedChecks.Page.al index b7ba1a2e926..ee227b990a6 100644 --- a/src/Layers/APAC/BaseApp/Local/FinancialMgt/GeneralLedger/Journal/PostDatedChecks.Page.al +++ b/src/Layers/APAC/BaseApp/Local/FinancialMgt/GeneralLedger/Journal/PostDatedChecks.Page.al @@ -55,10 +55,6 @@ page 28090 "Post Dated Checks" Text := CustomerList.GetSelectionFilter(); exit(true); - UpdateCustomer(); - Rec.SetFilter("Check Date", Rec.GetFilter("Date Filter")); - if not Rec.FindFirst() then - UpdateBalance(); end; trigger OnValidate() diff --git a/src/Layers/APAC/BaseApp/Local/FinancialMgt/GeneralLedger/Journal/PostDatedChecksPurchases.Page.al b/src/Layers/APAC/BaseApp/Local/FinancialMgt/GeneralLedger/Journal/PostDatedChecksPurchases.Page.al index e69a93843c9..b414a23d90d 100644 --- a/src/Layers/APAC/BaseApp/Local/FinancialMgt/GeneralLedger/Journal/PostDatedChecksPurchases.Page.al +++ b/src/Layers/APAC/BaseApp/Local/FinancialMgt/GeneralLedger/Journal/PostDatedChecksPurchases.Page.al @@ -54,10 +54,6 @@ page 28092 "Post Dated Checks-Purchases" Text := VendorList.GetSelectionFilter(); exit(true); - UpdateVendor(); - Rec.SetFilter("Check Date", DateFilter); - if not Rec.FindFirst() then - UpdateBalance(); end; trigger OnValidate() diff --git a/src/Layers/APAC/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al b/src/Layers/APAC/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al index b8fa6bd5053..4eca34b2023 100644 --- a/src/Layers/APAC/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al +++ b/src/Layers/APAC/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al @@ -3829,7 +3829,6 @@ codeunit 134103 "ERM Prepayment IV" Currency.Validate("Invoice Rounding Precision", LibraryRandom.RandDec(0, 2)); Currency.Modify(true); exit(Currency.Code); - LibraryERM.SetAddReportingCurrency(Currency.Code); end; local procedure CreateSalesDocumentWithCurrency(var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; CurrencyCode: Code[10]; CustomerNo: Code[20]; DocumentType: Enum "Sales Document Type"): Decimal diff --git a/src/Layers/CH/DemoTool/CreateAccScheduleLine.Codeunit.al b/src/Layers/CH/DemoTool/CreateAccScheduleLine.Codeunit.al index b288bc08316..678d9bee60b 100644 --- a/src/Layers/CH/DemoTool/CreateAccScheduleLine.Codeunit.al +++ b/src/Layers/CH/DemoTool/CreateAccScheduleLine.Codeunit.al @@ -5,165 +5,6 @@ codeunit 101085 "Create Acc. Schedule Line" begin Error('THIS Object 101085 is subsituted with CU 161510'); - InsertData(XANALYSIS, '', XACIDTESTANALYSIS, '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', '', '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XCurrentAssets, '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '101', XInventory, CA.Convert('992190'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '102', XAccountsReceivable, CA.Convert('992390'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '103', XSecurities, CA.Convert('992890'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '104', XLiquidAssets, CA.Convert('992990'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '105', XCurrentAssetsTotal, '101..104', 2, '', '', '', '', false, false); - InsertData(XANALYSIS, '', '', '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XShorttermLiabilities, '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '111', XRevolvingCredit, CA.Convert('995310'), 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '112', XAccountsPayable, CA.Convert('995490'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '113', XVAT, CA.Convert('995790'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '114', XPersonnelrelatedItems, CA.Convert('995890'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '115', XOtherLiabilities, CA.Convert('995990'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '116', XShorttermLiabilitiesTotal, '111..115', 2, '', '', '', '', false, false); - InsertData(XANALYSIS, '', '', '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XCurAminusShorttermLiabilities, '105|116', 2, '', '', '', '', false, false); - - InsertData(XCAMPAIGN, '', XCAMPAIGNANALYSIS, '', 0, '', '', '', '', false, true); - InsertData(XCAMPAIGN, '', '', '', 0, '', '', '', '', false, false); - InsertData(XCAMPAIGN, '11', XSalesRetailDom, CA.Convert('996110'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '12', XPurchRetailDom, CA.Convert('997110'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '1', XTradingMarginDomestic, '-12-11', 2, '', '', '', '', false, true); - InsertData(XCAMPAIGN, '', '', '', 0, '', '', '', '', false, false); - InsertData(XCAMPAIGN, '21', XSalesRetailEU, CA.Convert('996120'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '22', XPurchRetailEU, CA.Convert('997120'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '2', XTradingMarginEU, '-22-21', 2, '', '', '', '', false, true); - InsertData(XCAMPAIGN, '', '', '', 0, '', '', '', '', false, false); - InsertData(XCAMPAIGN, '31', XSalesRetailExport, CA.Convert('996130'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '32', XPurchRetailExport, CA.Convert('997130'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '3', XTradingMarginExport, '-32-31', 2, '', '', '', '', false, true); - InsertData(XCAMPAIGN, '', '', '', 0, '', '', '', '', false, false); - InsertData(XCAMPAIGN, '', XCampaignResult, '1+2+3', 2, '', '', '', '', false, true); - - InsertData(XREVENUE, '', XREVENUE, '', 0, '', '', '', '', false, true); - InsertData(XREVENUE, '', '', '', 0, '', '', '', '', false, false); - InsertData(XREVENUE, '', XSalesofRetail, '', 0, '', '', '', '', false, false); - InsertData(XREVENUE, '11', XSalesRetailDom, CA.Convert('996110'), 0, '', '', '', '', false, false); - InsertData(XREVENUE, '12', XSalesRetailEU, CA.Convert('996120'), 0, '', '', '', '', false, false); - InsertData(XREVENUE, '13', XSalesRetailExport, CA.Convert('996130'), 0, '', '', '', '', false, false); - InsertData(XREVENUE, '14', XJobSalesAdjmtRetail, CA.Convert('996190'), 0, '', '', '', '', false, false); - InsertData(XREVENUE, '15', XSalesofRetailTotal, CA.Convert('996195'), 1, '', '', '', '', false, false); - InsertData(XREVENUE, '', '', '', 0, '', '', '', '', false, false); - InsertData( - XREVENUE, '', XRevenueArea10to30Total, - StrSubstNo('%1..%2', CA.Convert('996110'), CA.Convert('996195')), 0, '10..30', '', '', '', false, false); - InsertData( - XREVENUE, '', XRevenueArea40to85Total, - StrSubstNo('%1..%2', CA.Convert('996110'), CA.Convert('996195')), 0, '40..85', '', '', '', false, false); - InsertData( - XREVENUE, '', XRevenuenoAreacodeTotal, - StrSubstNo('%1..%2', CA.Convert('996110'), CA.Convert('996195')), 0, '''''', '', '', '', false, false); - InsertData( - XREVENUE, '', XRevenueTotal, - StrSubstNo('%1..%2', CA.Convert('996110'), CA.Convert('996195')), 0, '', '', '', '', false, true); - - InsertData(XCASTAFF, '10', XPersonalCosts, '', 6, '', '', '', '', false, false); - InsertData(XCASTAFF, '20', XMonthlySalaries, CA.Convert('998710') + '..' + CA.Convert('998720'), 6, '', '', '', '', false, false); - InsertData(XCASTAFF, '40', XSocialSecurity, CA.Convert('998730') + '..' + CA.Convert('998730'), 6, '', '', '', '', false, false); - - InsertData(XCATRANSFER, '100', XTransferOverheadCosts, '', 6, '', '', '', '', false, false); - InsertData(XCATRANSFER, '200', XInitialCostCenters, '9901', 6, '', '', '', '', false, false); - InsertData(XCATRANSFER, '300', XMainCostCenters, '9902', 6, '', '', '', '', false, false); - InsertData(XCATRANSFER, '500', XTotalTransfers, '200..300', 2, '', '', '', '', false, false); - - InsertData(XCAPROF, '100', XCCCOSummaryReport, '', 6, '', '', '', '', false, false); - InsertData(XCAPROF, '110', XRevenues, CA.Convert('996110') + '..' + CA.Convert('996955'), 7, '', '', '', '', false, false); - InsertData(XCAPROF, '120', XRevenueReductions, CA.Convert('996710') + '..' + CA.Convert('996910'), 6, '', '', '', '', false, false); - InsertData(XCAPROF, '130', XNetRevenue, '110..120', 2, '', '', '', '', false, false); - InsertData(XCAPROF, '140', XMaterialCosts, CA.Convert('997110') + '..' + CA.Convert('997894'), 6, '', '', '', '', false, false); - InsertData(XCAPROF, '160', XGrossProfit, '130..150', 2, '', '', '', '', false, false); - InsertData(XCAPROF, '170', XSalaryDirectCosts, CA.Convert('998790'), 6, '', '', '', '', false, false); - InsertData(XCAPROF, '300', XMainCostCenters, '9902', 6, '', '', '', '', false, false); - InsertData(XCAPROF, '500', XTotalTransfers, '200..300', 2, '', '', '', '', false, false); - - InsertDataForCashFlow( - XDEGREE, '', XCalculationBase, '', false, true, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'R10', XCashFlowFunds, '2100', false, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'R20', XMonetarycurrentAssets, '0010|0030|0040|0060|2100', false, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'R30', XCurrentAssets, '0010..0070|2100', false, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'R40', XShortTermObligations, '1010..1100', false, false, false, false, true); - InsertDataForCashFlow( - XDEGREE, '', '', '', false, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'L1', XCashFlow1Degree, 'R10/R40', true, true, false, false, true); - InsertDataForCashFlow( - XDEGREE, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'L2', XCashFlow2Degree, 'R20/R40', true, true, false, false, true); - InsertDataForCashFlow( - XDEGREE, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'L3', XCashFlow3Degree, 'R30/R40', true, true, false, false, true); - - InsertDataForCashFlow( - XCASHFLOW, 'R10', XReceivables, '0010', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XOpenSalesOrders, '0020', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XOpenServiceOrders, '0080', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XRentals, '0030', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XFinancialAssets, '0040', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XFixedAssetsDisposals, '0050', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XPrivateInvestments, '0060', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XMiscellaneousReceipts, '0070', true, false, false, true, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R20', XTotalofCashReceipts, 'R10', true, true, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XPayables, '1010', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XOpenPurchaseOrders, '1020', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XPersonnelCosts, '1030', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XRunningCosts, '1040', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XFinanceCosts, '1050', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XMiscellaneousCosts, '1060', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XInvestments, '1070', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XEncashmentOfBills, '1080', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XPrivateConsumptions, '1090', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XVATDue, '1100', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XOtherExpenses, '1110', true, false, false, true, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R40', XTotalOfCashDisbursements, 'R30', true, true, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R50', XSurplus, 'R10|R40', true, true, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R60', XCashFlowFunds, '2100', true, false, false, true, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R70', XTotalCashFlow, 'R50|R60', true, true, false, false, false); end; var diff --git a/src/Layers/CH/DemoTool/CreateAccScheduleName.Codeunit.al b/src/Layers/CH/DemoTool/CreateAccScheduleName.Codeunit.al index 1eef7aab56b..4ce154eebf6 100644 --- a/src/Layers/CH/DemoTool/CreateAccScheduleName.Codeunit.al +++ b/src/Layers/CH/DemoTool/CreateAccScheduleName.Codeunit.al @@ -5,17 +5,6 @@ codeunit 101084 "Create Acc. Schedule Name" begin Error('This Object 101084 is subsituted with CU 96010'); - UpdateEvaluationDate(); - InsertData(XCAMPAIGN, XCampaignAnalysis, XBUDGANALYS, XCAMPAIGN); - InsertData(XCASTAFF, XCostAcctPersonnelCosts, '', ''); - InsertData(XCATRANSFER, XCostAcctTransfer, '', ''); - InsertData(XCAPROF, XCostAcctSummaryRecordDB, '', ''); - InsertData(XDEGREE, XCalculationOfCashFlowRatio, XDEGREE, ''); - - InsertData(XCASHFLOW, XCalculationOfCashFlow, XCASHFLOW, ''); - - InsertData(XANALYSIS, XCapitalStructure, '', ''); - InsertData(XREVENUE, XRevenues, XBUDGANALYS, ''); end; procedure InsertEvaluationData(); diff --git a/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al b/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al index c3d49bc5ba6..2166ace9b43 100644 --- a/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al +++ b/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al @@ -110,37 +110,6 @@ codeunit 117507 "Create Service Base Calendar" //---------------------------------------------------------------- //My Bank Holiday, First and Last Monday of each May is a holiday //---------------------------------------------------------------- - StartDate := MakeAdjustments.AdjustDate(19040501D); - repeat - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::" ", BaseCalChange.Day::Monday, true, GetPeriodNoOneDate('>'), XMayDayBankHoliday); - StartDate := CalcDate('<1Y>', StartDate); - until StartDate = MakeAdjustments.AdjustDate(19100501D); - - StartDate := CalcDate('<-1D>', MakeAdjustments.AdjustDate(19040601D)); - repeat - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::" ", BaseCalChange.Day::Monday, true, GetPeriodNoOneDate('<'), XBankHoliday); - StartDate := CalcDate('<1Y>', StartDate); - until StartDate = CalcDate('<-1D>', MakeAdjustments.AdjustDate(19100601D)); - - // ------------------------------------------------------------------- - // My Bank Holiday, First and Last Monday of each Augest is a holiday - // ------------------------------------------------------------------- - StartDate := MakeAdjustments.AdjustDate(19040801D); - repeat - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::" ", BaseCalChange.Day::Monday, true, GetPeriodNoOneDate('>'), - XSummerBankHolidayScotland); - StartDate := CalcDate('<1Y>', StartDate); - until StartDate = MakeAdjustments.AdjustDate(19100801D); - - StartDate := CalcDate('<-1D>', MakeAdjustments.AdjustDate(19040901D)); - repeat - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::" ", BaseCalChange.Day::Monday, true, GetPeriodNoOneDate('<'), XSummerBankHoliday); - StartDate := CalcDate('<1Y>', StartDate); - until StartDate = CalcDate('<-1D>', MakeAdjustments.AdjustDate(19100901D)) end; procedure GetPeriodNoOneDate(SkipDirection: Text[1]): Date diff --git a/src/Layers/CZ/DemoTool/CreateServiceBaseCalendar.Codeunit.al b/src/Layers/CZ/DemoTool/CreateServiceBaseCalendar.Codeunit.al index 0c20ee309aa..a4b1f8e21d2 100644 --- a/src/Layers/CZ/DemoTool/CreateServiceBaseCalendar.Codeunit.al +++ b/src/Layers/CZ/DemoTool/CreateServiceBaseCalendar.Codeunit.al @@ -105,44 +105,6 @@ codeunit 117507 "Create Service Base Calendar" exit; // NAVCZ - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::"Weekly Recurring", BaseCalChange.Day::Saturday, true, - DateToDMY(0D), XWeekend); - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::"Weekly Recurring", BaseCalChange.Day::Sunday, true, - DateToDMY(0D), XWeekend); - - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::"Annual Recurring", BaseCalChange.Day::" ", true, - DateToDMY(19030101D), XNewYearsEve); - CheckHolidayDate(DateToDMY(19030101D), XNewYearsEve); - - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::"Annual Recurring", BaseCalChange.Day::" ", true, - DateToDMY(19030102D), XBankHolidayScotlandOnly); - CheckHolidayDate(DateToDMY(19030102D), XBankHolidayScotlandOnly); - - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::"Annual Recurring", BaseCalChange.Day::" ", true, - DateToDMY(19040317D), XStPatricksDay); - CheckHolidayDate(DateToDMY(19040317D), XStPatricksDay); - - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::"Annual Recurring", BaseCalChange.Day::" ", true, - DateToDMY(19030712D), XBattleoftheBoyneDay); - CheckHolidayDate(DateToDMY(19030712D), XBattleoftheBoyneDay); - - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::"Annual Recurring", BaseCalChange.Day::" ", true, - DateToDMY(19031225D), XChristmasDay); - CheckHolidayDate(DateToDMY(19031225D), XChristmasDay); - - InsertBaseCalChange( - XGB, BaseCalChange."Recurring System"::"Annual Recurring", BaseCalChange.Day::" ", true, - DateToDMY(19031226D), XBoxingDay); - CheckHolidayDate(DateToDMY(19031226D), XBoxingDay); - - CreateSpecialHolidays(); end; var diff --git a/src/Layers/CZ/Tests/ERM-Finance/ERMAccountScheduleII.Codeunit.al b/src/Layers/CZ/Tests/ERM-Finance/ERMAccountScheduleII.Codeunit.al index d0ccae5db1f..2fb6b363ddc 100644 --- a/src/Layers/CZ/Tests/ERM-Finance/ERMAccountScheduleII.Codeunit.al +++ b/src/Layers/CZ/Tests/ERM-Finance/ERMAccountScheduleII.Codeunit.al @@ -1437,28 +1437,6 @@ exit; // NAVCZ Czech Localization has Account Schedule Formula Drill-Down Page // [FEATURE] [UI] // [SCENARIO 316821] Variance drill down shows column layout formula when both account schedule and column layout contains formula. - Initialize(); - - // [GIVEN] Account schedule with formula totaling type and column layout with formula column type. - LibraryERM.CreateAccScheduleName(AccScheduleName); - CreateAccScheduleLine( - AccScheduleLine, - AccScheduleName.Name, - AccScheduleLine."Totaling Type"::Formula, - Format(LibraryRandom.RandInt(1000))); - LibraryERM.CreateColumnLayoutName(ColumnLayoutName); - CreateColumnLayoutLine( - ColumnLayout, - ColumnLayoutName.Name, - ColumnLayout."Column Type"::Formula, - Format(LibraryRandom.RandInt(1000))); - LibraryVariableStorage.Enqueue(ColumnLayout.Formula); - - // [WHEN] Invoke drill down on Acc. Schedule Line from Acc. Schedule Overview page (AccScheduleLineRowFormulaMessageHandler handler). - AccSchedManagement.DrillDownFromOverviewPage(ColumnLayout, AccScheduleLine, PeriodType::Year); - - // [THEN] The message prints formula from column layout. - LibraryVariableStorage.AssertEmpty(); end; [Test] diff --git a/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al b/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al index 8ccad8299d7..33649a10c98 100644 --- a/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al +++ b/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al @@ -75,19 +75,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line - Initialize(); - - // Setup - CreateVendorGenJnlLineWithRecipientBankAcc(GenJnlLine); - GenJnlLine."Recipient Bank Account" := ''; - GenJnlLine.Modify(); - - // Exercise - CODEUNIT.Run(CODEUNIT::"SEPA CT-Check Line", GenJnlLine); - - // Verify - LibraryPaymentExport.VerifyGenJnlLineErr(GenJnlLine, - StrSubstNo(FieldBlankErr, GenJnlLine.FieldCaption("Recipient Bank Account"))); end; [Test] @@ -97,18 +84,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line - Initialize(); - - // Setup - CreateVendorGenJnlLineWithRecipientBankAcc(GenJnlLine); - GenJnlLine."Account Type" := GenJnlLine."Account Type"::"G/L Account"; - GenJnlLine.Modify(); - - // Exercise - CODEUNIT.Run(CODEUNIT::"SEPA CT-Check Line", GenJnlLine); - - // Verify - LibraryPaymentExport.VerifyGenJnlLineErr(GenJnlLine, MustBeVendorEmployeeOrCustomerErr); end; [Test] @@ -118,18 +93,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line - Initialize(); - - // Setup - CreateVendorGenJnlLineWithRecipientBankAcc(GenJnlLine); - GenJnlLine."Document Type" := GenJnlLine."Document Type"::Refund; - GenJnlLine.Modify(); - - // Exercise. - CODEUNIT.Run(CODEUNIT::"SEPA CT-Check Line", GenJnlLine); - - // Verify. - LibraryPaymentExport.VerifyGenJnlLineErr(GenJnlLine, MustBeVendEmplPmtOrCustRefundErr) end; [Test] @@ -139,18 +102,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line - Initialize(); - - // Setup - CreateCustomerGenJnlLineWithRecipientBankAcc(GenJnlLine); - GenJnlLine."Document Type" := GenJnlLine."Document Type"::Payment; - GenJnlLine.Modify(); - - // Exercise. - CODEUNIT.Run(CODEUNIT::"SEPA CT-Check Line", GenJnlLine); - - // Verify. - LibraryPaymentExport.VerifyGenJnlLineErr(GenJnlLine, MustBeVendEmplPmtOrCustRefundErr); end; [Test] @@ -250,18 +201,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line - Initialize(); - - // Setup - CreateVendorGenJnlLineWithRecipientBankAcc(GenJnlLine); - GenJnlLine."Account No." := ''; - GenJnlLine.Modify(); - - // Exercise - CODEUNIT.Run(CODEUNIT::"SEPA CT-Check Line", GenJnlLine); - - // Verify - LibraryPaymentExport.VerifyGenJnlLineErr(GenJnlLine, MustBeVendorEmployeeOrCustomerErr); end; [Test] @@ -365,23 +304,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line - Initialize(); - - // Setup - CreateVendorGenJnlLineWithRecipientBankAcc(GenJnlLine); - GenJnlLine."Document Type" := GenJnlLine."Document Type"::Refund; - GenJnlLine.Amount := -1 * LibraryRandom.RandDec(100, 2); - GenJnlLine."Recipient Bank Account" := ''; - GenJnlLine.Modify(); - - // Exercise. - CODEUNIT.Run(CODEUNIT::"SEPA CT-Check Line", GenJnlLine); - - // Verify. - LibraryPaymentExport.VerifyGenJnlLineErr(GenJnlLine, MustBeVendEmplPmtOrCustRefundErr); - LibraryPaymentExport.VerifyGenJnlLineErr(GenJnlLine, MustBePositiveErr); - LibraryPaymentExport.VerifyGenJnlLineErr(GenJnlLine, - StrSubstNo(FieldBlankErr, GenJnlLine.FieldCaption("Recipient Bank Account"))); end; local procedure Initialize() diff --git a/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al b/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al index ee3db91c33c..4d2eeac9eb1 100644 --- a/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al +++ b/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al @@ -178,16 +178,6 @@ codeunit 134277 "Country/Region UT" // [SCENARIO] Test Country/Region Translation is used for address formatting in codeunit "Format Address" // [GIVEN] One Country/Region with one specific translation - CreateCountryRegion(CountryRegion); - LibraryERM.CreateCountryRegionTranslation(CountryRegion.Code, CountryRegionTranslation); - - // [WHEN] FormatAddress is initialized with one language where a country/region translation exists - FormatAddress.SetLanguageCode(CountryRegionTranslation."Language Code"); - FormatAddress.FormatAddr(AddrArray, 'Name', 'Name2', 'Contact', 'Addr', 'Addr2', 'City', 'PostCode', 'County', CountryRegion.Code); - - // [THEN] Verify that the translation of the country/region name is used - CountryLineNo := 8; // Country Name should be at position 8 of the array, since everything is filled - Assert.AreEqual(CountryRegionTranslation.Name, AddrArray[CountryLineNo], StrSubstNo(WrongValueInAddressArrayErr, CountryLineNo)); end; local procedure CreateCountryRegion(var CountryRegion: Record "Country/Region") diff --git a/src/Layers/ES/Tests/Local/CarteraPosting.Codeunit.al b/src/Layers/ES/Tests/Local/CarteraPosting.Codeunit.al index f9fdf846817..f0021b203d0 100644 --- a/src/Layers/ES/Tests/Local/CarteraPosting.Codeunit.al +++ b/src/Layers/ES/Tests/Local/CarteraPosting.Codeunit.al @@ -422,7 +422,6 @@ codeunit 147305 "Cartera Posting" procedure SalesUnrealVATPayToSeveralBillsAndApplyPostedEntries() begin exit; // VSTF 54637 - SalesUnrealVATPayToSeveralBills(false); end; [Test] @@ -430,7 +429,6 @@ codeunit 147305 "Cartera Posting" procedure SalesUnrealVATApplyFromJournalPayToSeveralBills() begin exit; // VSTF 54637 - SalesUnrealVATPayToSeveralBills(true); end; [Test] diff --git a/src/Layers/GB/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al b/src/Layers/GB/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al index 243457b950a..cc12ba4ed4a 100644 --- a/src/Layers/GB/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al +++ b/src/Layers/GB/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al @@ -3818,7 +3818,6 @@ codeunit 134103 "ERM Prepayment IV" Currency.Validate("Invoice Rounding Precision", LibraryRandom.RandDec(0, 2)); Currency.Modify(true); exit(Currency.Code); - LibraryERM.SetAddReportingCurrency(Currency.Code); end; local procedure CreateSalesDocumentWithCurrency(var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; CurrencyCode: Code[10]; CustomerNo: Code[20]; DocumentType: Enum "Sales Document Type"): Decimal diff --git a/src/Layers/IT/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al b/src/Layers/IT/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al index e507da4034f..6aee501aaba 100644 --- a/src/Layers/IT/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al +++ b/src/Layers/IT/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al @@ -122,62 +122,6 @@ codeunit 134897 "ERM Source Currency" VATAmount: Decimal; begin exit; // Disable for IT - - Initialize(); - - // [GIVEN] VAT Posting Setup with reverse charge VAT. - LibraryERM.FindVATPostingSetup(VATPostingSetup, VATPostingSetup."VAT Calculation Type"::"Reverse Charge VAT"); - UpdateAdjustForPaymentDiscount(VATPostingSetup); - if VATPostingSetup."Reverse Chrg. VAT Acc." = '' then begin - VATPostingSetup.Validate("Reverse Chrg. VAT Acc.", LibraryERM.CreateGLAccountNo()); - VATPostingSetup.Modify(); - end; - - // [GIVEN] A General Journal Line. - CreateGeneralJournalLine( - GenJournalLine, - LibraryERM.CreateGLAccountNoWithDirectPosting(), - LibraryERM.CreateGLAccountNoWithDirectPosting(), - Enum::"General Posting Type"::Purchase, - VATPostingSetup, - ForeignCurrency); - - // [WHEN] Posting the General Journal Line. - LibraryERM.PostGeneralJnlLine(GenJournalLine); - - GetGLEntries(GLEntry, GenJournalLine."Document No.", GenJournalLine."Document Type"); - - VATAmount := Round(Abs(GenJournalLine.Amount) * VATPostingSetup."VAT %" / 100, 0.01, '='); - repeat - // [THEN] Source Currency Code on G/L Entries should be correct. - Assert.AreEqual(GenJournalLine."Currency Code", GLEntry."Source Currency Code", SourceCurrencyCodeErr); - - Factor := GLEntry.Amount <> 0 ? GLEntry.Amount / Abs(GLEntry.Amount) : 1; - case GLEntry."G/L Account No." of - VATPostingSetup."Purchase VAT Account", - VATPostingSetup.GetRevChargeAccount(false): - begin - // [THEN] Source Currency Amount on G/L Entries for VAT account should have correct factor. - if GLEntry."Source Currency Amount" <> 0 then - Assert.AreEqual(Factor, GLEntry."Source Currency Amount" / Abs(GLEntry."Source Currency Amount"), AmountIncorrectSignErr); - - // [THEN] Source Currency Amount on Purchase VAT account should be equal to expected VAT amount. - Assert.AreNearlyEqual(VATAmount * Factor, GLEntry."Source Currency Amount", 0.01, StrSubstNo(VATAmountIncorrectErr, GenJournalLine.Amount, VATPostingSetup."VAT %")); - end; - GenJournalLine."Account No.": - // [THEN] Source Currency Amount on G/L Entry for Account No. should be equal to the amount on the general journal line. - Assert.AreEqual(GenJournalLine.Amount, GLEntry."Source Currency Amount", AmountExclVATIncorrectErr); - GenJournalLine."Bal. Account No.": - // [THEN] Source Currency Amount on G/L Entries for Bal. Account No. should be equal to the negative amount on the general journal line. - Assert.AreEqual(-GenJournalLine.Amount, GLEntry."Source Currency Amount", BalancingAmountIncorrectErr); - else - Error(UnexpectedAccountNoErr, GLEntry."G/L Account No."); - end; - SCYBalance += GLEntry."Source Currency Amount"; - until GLEntry.Next() = 0; - - // [THEN] Source Currency Amount on G/L Entries should balance to 0. - Assert.AreEqual(0, SCYBalance, TotalSCYAmountNotZeroErr); end; [Test] @@ -565,53 +509,6 @@ codeunit 134897 "ERM Source Currency" VATAmount: Decimal; begin exit; // Disabled for IT - - Initialize(); - - // [GIVEN] Vendor with new posting groups with normal VAT. - VendorNo := CreateVendorWithNewPostingGroups(VendorPostingGroup, GeneralPostingSetup, VATPostingSetup, VATPostingSetup."VAT Calculation Type"::"Reverse Charge VAT"); - VATPostingSetup.Validate("Reverse Chrg. VAT Acc.", LibraryERM.CreateGLAccountNo()); - VATPostingSetup.Modify(); - - // [GIVEN] A Purchase Invoice for a G/L Account. - CreateGLAccount(GLAccount, Enum::"General Posting Type"::Purchase, GeneralPostingSetup, VATPostingSetup); - CreatePurchaseInvoice(PurchaseHeader, VendorNo, GLAccount."No.", WithForeignCurrency); - - // [WHEN] Posting a Purchase Invoice with normal VAT. - PostedPurchaseInvoiceNo := LibraryPurchase.PostPurchaseDocument(PurchaseHeader, true, true); - - GetGLEntries(GLEntry, PostedPurchaseInvoiceNo, GLEntry."Document Type"::Invoice); - - VATAmount := Round(PurchaseHeader."Doc. Amount Incl. VAT" * VATPostingSetup."VAT %" / 100, 0.01, '='); - repeat - // [THEN] Source Currency Code on G/L Entries should be correct. - Assert.AreEqual(PurchaseHeader."Currency Code", GLEntry."Source Currency Code", SourceCurrencyCodeErr); - - Factor := GLEntry.Amount <> 0 ? GLEntry.Amount / Abs(GLEntry.Amount) : 1; - case GLEntry."G/L Account No." of - VATPostingSetup."Purchase VAT Account", - VATPostingSetup.GetRevChargeAccount(false): - begin - // [THEN] Source Currency Amount on G/L Entries for VAT account should have correct factor. - Assert.AreEqual(Factor, GLEntry."Source Currency Amount" / Abs(GLEntry."Source Currency Amount"), AmountIncorrectSignErr); - - // [THEN] Source Currency Amount on Purchase VAT account should be equal to expected VAT amount. - Assert.AreEqual(VATAmount * Factor, GLEntry."Source Currency Amount", StrSubstNo(VATAmountIncorrectErr, PurchaseHeader.Amount, VATPostingSetup."VAT %")); - end; - VendorPostingGroup.GetPayablesAccount(): - // [THEN] Source Currency Amount on G/L Entry for Payables Account No. should be equal to the amount incl. VAT on the purchase invoice. - Assert.AreEqual(-PurchaseHeader."Amount Including VAT", GLEntry."Source Currency Amount", 'The Source Currency Amount should be equal to the amount including VAT on the purchase invoice'); - GLAccount."No.": - // [THEN] Source Currency Amount on G/L Entry for GL Account No. should be equal to the amount incl. VAT on the purchase invoice - Assert.AreEqual(PurchaseHeader."Amount Including VAT", GLEntry."Source Currency Amount", AmountExclVATIncorrectErr); - else - Error(UnexpectedAccountNoErr, GLEntry."G/L Account No."); - end; - SCYBalance += GLEntry."Source Currency Amount"; - until GLEntry.Next() = 0; - - // [THEN] Source Currency Amount on G/L Entries should balance to 0. - Assert.AreEqual(0, SCYBalance, TotalSCYAmountNotZeroErr); end; [Test] diff --git a/src/Layers/NA/BaseApp/Local/Finance/GeneralLedger/Reports/OfficialjournalledgerSumm.Report.al b/src/Layers/NA/BaseApp/Local/Finance/GeneralLedger/Reports/OfficialjournalledgerSumm.Report.al index 8ac0ae0a556..f9cb35d55ab 100644 --- a/src/Layers/NA/BaseApp/Local/Finance/GeneralLedger/Reports/OfficialjournalledgerSumm.Report.al +++ b/src/Layers/NA/BaseApp/Local/Finance/GeneralLedger/Reports/OfficialjournalledgerSumm.Report.al @@ -556,7 +556,6 @@ report 14030 "Official journal ledger Summ." AccPeriod.SetRange("New Fiscal Year", true); if AccPeriod.FindFirst() then begin Error(Text000); - CurrReport.Break(); end; end; 5: diff --git a/src/Layers/NO/BaseApp/Local/Purchases/Payables/RemittanceImportBank.Report.al b/src/Layers/NO/BaseApp/Local/Purchases/Payables/RemittanceImportBank.Report.al index 884f1d58c8f..049909a0c22 100644 --- a/src/Layers/NO/BaseApp/Local/Purchases/Payables/RemittanceImportBank.Report.al +++ b/src/Layers/NO/BaseApp/Local/Purchases/Payables/RemittanceImportBank.Report.al @@ -333,7 +333,6 @@ report 15000062 "Remittance - Import (Bank)" begin // Process invoice transaction - BETFOR04 and BETFOR23. // Own referance is read by the time this function is called. - if false then; // Update waiting journal: WaitingJournal.Get(OwnRef); WaitingJournal."Return Code" := ReturnCode; diff --git a/src/Layers/NO/DemoTool/CreateVATStatementLine.Codeunit.al b/src/Layers/NO/DemoTool/CreateVATStatementLine.Codeunit.al index 6ef98d21125..41ce3e7661c 100644 --- a/src/Layers/NO/DemoTool/CreateVATStatementLine.Codeunit.al +++ b/src/Layers/NO/DemoTool/CreateVATStatementLine.Codeunit.al @@ -5,62 +5,6 @@ codeunit 101256 "Create VAT Statement Line" begin exit; - "Demonstration Data Setup".Get(); - case "Demonstration Data Setup"."Company Type" of - "Demonstration Data Setup"."Company Type"::VAT: - begin - InsertData('1010', XSalesVAT25PERCENToutgoing, 1, '', 2, XNATIONAL, XVAT25, '', 1, 0, false, 1, false); - InsertData('1019', XSalesVAT25PERCENToutgoing, 2, '', 0, '', '', '1010..1018', 0, 0, true, 1, false); - InsertData('1020', XSalesVAT10PERCENToutgoing, 1, '', 2, XNATIONAL, XVAT10, '', 1, 0, false, 1, false); - InsertData('1029', XSalesVAT10PERCENToutgoing, 2, '', 0, '', '', '1020..1028', 0, 0, true, 1, false); - InsertData('1030', XVAT25PERCENTonEUPurchasesetc, 1, '', 1, XEU, XVAT25, '', 1, 1, false, 1, false); - InsertData('1039', XVAT25PERCENTonEUPurchasesetc, 2, '', 0, '', '', '1030..1038', 0, 0, true, 1, false); - InsertData('1040', XVAT10PERCENTonEUPurchasesetc, 1, '', 1, XEU, XVAT10, '', 1, 1, false, 1, false); - InsertData('1049', XVAT10PERCENTonEUPurchasesetc, 2, '', 0, '', '', '1040..1048', 0, 0, true, 1, false); - InsertData('', '--------------------------------------------------', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('1099', XTotal, 2, '', 0, '', '', '1019|1029|1039|1049', 0, 0, true, 1, false); - InsertData('', '', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('1110', XPurchaseVAT25PERCENTDomestic, 1, '', 1, XNATIONAL, XVAT25, '', 1, 0, false, 0, false); - InsertData('1119', XPurchaseVAT25PERCENTDomestic, 2, '', 0, '', '', '1110..1118', 0, 0, true, 1, false); - InsertData('1120', XPurchaseVAT10PERCENTDomestic, 1, '', 1, XNATIONAL, XVAT10, '', 1, 0, false, 0, false); - InsertData('1129', XPurchaseVAT10PERCENTDomestic, 2, '', 0, '', '', '1120..1128', 0, 0, true, 1, false); - InsertData('1130', XPurchaseVAT25PERCENTEU, 1, '', 1, XEU, XVAT25, '', 1, 0, false, 0, false); - InsertData('1139', XPurchaseVAT25PERCENTEU, 2, '', 0, '', '', '1130..1138', 0, 0, true, 1, false); - InsertData('1140', XPurchaseVAT10PERCENTEU, 1, '', 1, XEU, XVAT10, '', 1, 0, false, 0, false); - InsertData('1149', XPurchaseVAT10PERCENTEU, 2, '', 0, '', '', '1140..1148', 0, 0, true, 1, false); - InsertData('1159', XPurchaseVATingoing, 2, '', 0, '', '', '1119|1129|1139|1149', 0, 0, true, 1, false); - InsertData('', '', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('1180', XFuelTax, 0, CA.Convert('995710'), 0, '', '', '', 0, 0, true, 1, false); - InsertData('1181', XElectricityTax, 0, CA.Convert('995720'), 0, '', '', '', 0, 0, true, 1, false); - InsertData('1182', XNaturalGasTax, 0, CA.Convert('995730'), 0, '', '', '', 0, 0, true, 1, false); - InsertData('1183', XCoalTax, 0, CA.Convert('995740'), 0, '', '', '', 0, 0, true, 1, false); - InsertData('1184', XCO2Tax, 0, CA.Convert('995750'), 0, '', '', '', 0, 0, true, 1, false); - InsertData('1185', XWaterTax, 0, CA.Convert('995760'), 0, '', '', '', 0, 0, true, 1, false); - InsertData('1189', XTotalTaxes, 2, '', 0, '', '', '1180..1188', 0, 0, true, 1, false); - InsertData('', '--------------------------------------------------', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('1199', XTotalDeductions, 2, '', 0, '', '', '1159|1189', 0, 0, true, 1, false); - InsertData('', '--------------------------------------------------', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('', '', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('', XVATPayable, 2, '', 0, '', '', '1099|1199', 0, 0, true, 1, false); - InsertData('', '--------------------------------------------------', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('', '', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('1210', XValueofEUPurchases25PERCENT, 1, '', 1, XEU, XVAT25, '', 2, 0, false, 0, false); - InsertData('', XValueofEUPurchases25PERCENT, 2, '', 0, '', '', '1210..1218', 0, 0, true, 0, false); - InsertData('1220', XValueofEUPurchases10PERCENT, 1, '', 1, XEU, XVAT10, '', 2, 0, false, 0, false); - InsertData('', XValueofEUPurchases10PERCENT, 2, '', 0, '', '', '1220..1228', 0, 0, true, 0, false); - InsertData('', '', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('1230', XValueofEUSales, 1, '', 2, XEU, XVAT25, '', 2, 0, false, 1, false); - InsertData('', XValueofEUSales25PERCENT, 2, '', 0, '', '', '1230..1238', 0, 0, true, 1, false); - InsertData('1240', XValueofEUSales, 1, '', 2, XEU, XVAT10, '', 2, 0, false, 1, false); - InsertData('', XValueofEUSales10PERCENT, 2, '', 0, '', '', '1240..1248', 0, 0, true, 1, false); - InsertData('', '', 3, '', 0, '', '', '', 0, 0, true, 0, false); - InsertData('1310', XNonVATliablesalesOverseas, 1, '', 2, XEXPORT, XVAT25, '', 2, 0, false, 0, false); - InsertData('1312', XNonVATliablesalesOverseas, 1, '', 2, XEXPORT, XVAT10, '', 2, 0, false, 0, false); - InsertData('', XNonVATliablesalesOverseas, 2, '', 0, '', '', '1310..1318', 0, 0, true, 1, false); - InsertData('1320', XNonVATliablesalesDomestic, 1, '', 2, XNATIONAL, XNOVAT, '', 2, 0, false, 0, false); - InsertData('', XNonVATliablesalesDomestic, 2, '', 0, '', '', '1320..1328', 0, 0, true, 1, false); - end; - end; end; var diff --git a/src/Layers/RU/BaseApp/Local/CreateVATPurchLedAdSh.Report.al b/src/Layers/RU/BaseApp/Local/CreateVATPurchLedAdSh.Report.al index 6677a1b6dc7..9db6304841b 100644 --- a/src/Layers/RU/BaseApp/Local/CreateVATPurchLedAdSh.Report.al +++ b/src/Layers/RU/BaseApp/Local/CreateVATPurchLedAdSh.Report.al @@ -233,142 +233,6 @@ report 14962 "Create VAT Purch. Led. Ad. Sh." VATEntryNo: Integer; begin exit; - if Reversed then - if not ReversedByCorrection(PurchVATEntry) then - CurrReport.Skip(); - - if Prepayment then begin - if ("Unrealized VAT Entry No." <> 0) and not Reversed then - CurrReport.Skip(); - end else - if "Unrealized VAT Entry No." = 0 then - if (Base = 0) and (Amount = 0) then - CurrReport.Skip(); - if not Prepayment then - if "Unrealized VAT Entry No." <> 0 then begin - if not ShowUnrealVAT then - CurrReport.Skip() - end else - if not ShowRealVAT then - CurrReport.Skip(); - - if not Reversed then - if not ("Posting Date" in [VATLedgerName."Start Date" .. VATLedgerName."End Date"]) then - CurrReport.Skip(); - - if Vend.Get("Bill-to/Pay-to No.") and - (Vend."Vendor Type" = Vend."Vendor Type"::"Resp. Employee") and - (Amount = 0) - then - CurrReport.Skip(); - - DocumentDate := 0D; - DocPostingDate := 0D; - RealVATEntryDate := 0D; - Partial := false; - InvoiceRecDate := 0D; - - VATEntryNo := "Entry No."; - if "Unrealized VAT Entry No." <> 0 then - VATEntryNo := "Unrealized VAT Entry No."; - GetLineProperties(PurchVATEntry, VATEntryNo); - - VendLedgEntry.Reset(); - if not VendLedgEntry.Get("CV Ledg. Entry No.") then begin - VendLedgEntry.SetCurrentKey("Transaction No."); - VendLedgEntry.SetRange("Transaction No.", TransNo); - end else - VendLedgEntry.SetRange("Entry No.", "CV Ledg. Entry No."); - - if UseExternal and VendLedgEntry.FindFirst() then - if VendLedgEntry."Vendor VAT Invoice No." = '' then - CurrReport.Skip(); - - if VendLedgEntry.FindFirst() then begin - if UseExternal and not CorrDocMgt.IsCorrVATEntry(PurchVATEntry) then begin - if VendLedgEntry."Vendor VAT Invoice No." <> '' then - DocumentNo := VendLedgEntry."Vendor VAT Invoice No."; - if VendLedgEntry."Vendor VAT Invoice Date" <> 0D then - DocumentDate := VendLedgEntry."Vendor VAT Invoice Date"; - end; - - if DocumentDate = 0D then - if VendLedgEntry."Document Date" <> 0D then - DocumentDate := VendLedgEntry."Document Date" - else - DocumentDate := VendLedgEntry."Posting Date"; - InvoiceRecDate := VendLedgEntry."Vendor VAT Invoice Rcvd Date"; - DocPostingDate := VendLedgEntry."Posting Date"; - end; - - if "Object Type" = "Object Type"::"Fixed Asset" then - if FA.Get("Object No.") then - if FA."Initial Release Date" <> 0D then - DocPostingDate := FA."Initial Release Date"; - - if Prepayment then begin - DocPostingDate := 0D; - PaymentDate := VendLedgEntry."Posting Date"; - end; - - if "VAT Settlement Type" <> 0 then begin - if VATEntry1.Get("Unrealized VAT Entry No.") then begin - VendLedgEntry.Reset(); - VendLedgEntry.SetCurrentKey("Transaction No."); - VendLedgEntry.SetRange("Transaction No.", VATEntry1."Transaction No."); - if VendLedgEntry.FindFirst() then begin - DtldVendLedgEntry.Reset(); - DtldVendLedgEntry.SetCurrentKey("Vendor Ledger Entry No.", "Entry Type"); - DtldVendLedgEntry.SetRange("Vendor Ledger Entry No.", VendLedgEntry."Entry No."); - DtldVendLedgEntry.SetFilter("Entry Type", '%1', DtldVendLedgEntry."Entry Type"::Application); - if DtldVendLedgEntry.FindSet() then - repeat - GetRealVATDate(PurchVATEntry, DtldVendLedgEntry."Transaction No.", RealVATEntryDate); - until DtldVendLedgEntry.Next() = 0; - end; - end; - end else - GetRealVATDate(PurchVATEntry, "Transaction No.", RealVATEntryDate); - if RealVATEntryDate = 0D then - RealVATEntryDate := "Posting Date"; - - "Additional VAT Ledger Sheet" := true; - VATEntry.SetCurrentKey(Reversed, "Posting Date"); - VATEntry.SetRange(Reversed, false); - VATEntry.SetFilter("Posting Date", '>%1', VATLedgerName."End Date"); - if VATEntry.FindSet() then - repeat - VendLedgEntry.Reset(); - VendLedgEntry.SetCurrentKey("Transaction No."); - if VATEntry1.Get(VATEntry."Unrealized VAT Entry No.") then - TransactionNo := VATEntry1."Transaction No." - else - TransactionNo := VATEntry."Transaction No."; - VendLedgEntry.SetRange("Transaction No.", TransactionNo); - if VendLedgEntry.FindFirst() then begin - DtldVendLedgEntry.Reset(); - DtldVendLedgEntry.SetCurrentKey("Vendor Ledger Entry No.", "Entry Type"); - DtldVendLedgEntry.SetRange("Vendor Ledger Entry No.", VendLedgEntry."Entry No."); - DtldVendLedgEntry.SetFilter("Entry Type", '%1', DtldVendLedgEntry."Entry Type"::Application); - if DtldVendLedgEntry.FindSet() then - repeat - if not DtldVendLedgEntry.Unapplied then - GetPurchPaymentDateDocNo(DtldVendLedgEntry."Transaction No.", PaymentDate, PaymentDocNo); - until DtldVendLedgEntry.Next() = 0; - end; - - ADinTA := false; - Base := -Base; - Amount := -Amount; - MakePurchLedger(PurchVATEntry, VATLedgerLineBuffer); - - ADinTA := true; - Base := -Base; - Amount := -Amount; - Base := Base + VATEntry.Base; - Amount := Amount + VATEntry.Amount; - MakePurchLedger(PurchVATEntry, VATLedgerLineBuffer); - until VATEntry.Next() = 0; end; trigger OnPostDataItem() diff --git a/src/Layers/RU/DemoTool/AdjustInventoryValue.Codeunit.al b/src/Layers/RU/DemoTool/AdjustInventoryValue.Codeunit.al index 6f9fb807844..7251bcda2a4 100644 --- a/src/Layers/RU/DemoTool/AdjustInventoryValue.Codeunit.al +++ b/src/Layers/RU/DemoTool/AdjustInventoryValue.Codeunit.al @@ -5,9 +5,6 @@ codeunit 101909 "Adjust Inventory Value" begin exit; // RU - InsertOtherEntry( - 0, '992180', CA.AdjustDate(19021231D), XSTART, XAdjustingInventoryvalue, -GetAmount(CA.Convert('992180')), - 0, '995310', ''); end; var diff --git a/src/Layers/RU/DemoTool/CreateAccScheduleLine.Codeunit.al b/src/Layers/RU/DemoTool/CreateAccScheduleLine.Codeunit.al index 1769bc985a8..1aa6366d77e 100644 --- a/src/Layers/RU/DemoTool/CreateAccScheduleLine.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateAccScheduleLine.Codeunit.al @@ -5,183 +5,6 @@ codeunit 101085 "Create Acc. Schedule Line" begin exit; // Not used in RU - InsertData(XANALYSIS, '', XACIDTESTANALYSIS, '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', '', '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XCurrentAssets, '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '101', XInventory, CA.Convert('992190'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '102', XAccountsReceivable, CA.Convert('992390'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '103', XSecurities, CA.Convert('992890'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '104', XLiquidAssets, CA.Convert('992990'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '105', XCurrentAssetsTotal, '101..104', 2, '', '', '', '', false, false); - InsertData(XANALYSIS, '', '', '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XShorttermLiabilities, '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '111', XRevolvingCredit, CA.Convert('995310'), 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '112', XAccountsPayable, CA.Convert('995490'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '113', XVAT, CA.Convert('995790'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '114', XPersonnelrelatedItems, CA.Convert('995890'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '115', XOtherLiabilities, CA.Convert('995990'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '116', XShorttermLiabilitiesTotal, '111..115', 2, '', '', '', '', false, false); - InsertData(XANALYSIS, '', '', '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XCurAminusShorttermLiabilities, '105|116', 2, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XACIDTESTANALYSIS, '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', '', '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XCurrentAssets, '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '101', XInventory, CA.Convert('992190'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '102', XAccountsReceivable, CA.Convert('992390'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '103', XSecurities, CA.Convert('992890'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '104', XLiquidAssets, CA.Convert('992990'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '105', XCurrentAssetsTotal, '101..104', 2, '', '', '', '', false, false); - InsertData(XANALYSIS, '', '', '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XShorttermLiabilities, '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '111', XRevolvingCredit, CA.Convert('995310'), 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '112', XAccountsPayable, CA.Convert('995490'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '113', XVAT, CA.Convert('995790'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '114', XPersonnelrelatedItems, CA.Convert('995890'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '115', XOtherLiabilities, CA.Convert('995990'), 1, '', '', '', '', false, false); - InsertData(XANALYSIS, '116', XShorttermLiabilitiesTotal, '111..115', 2, '', '', '', '', false, false); - InsertData(XANALYSIS, '', '', '', 0, '', '', '', '', false, false); - InsertData(XANALYSIS, '', XCurAminusShorttermLiabilities, '105|116', 2, '', '', '', '', false, false); - - InsertData(XCAMPAIGN, '', XCAMPAIGNANALYSIS, '', 0, '', '', '', '', false, true); - InsertData(XCAMPAIGN, '', '', '', 0, '', '', '', '', false, false); - InsertData(XCAMPAIGN, '11', XSalesRetailDom, CA.Convert('996110'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '12', XPurchRetailDom, CA.Convert('997110'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '1', XTradingMarginDomestic, '-12-11', 2, '', '', '', '', false, true); - InsertData(XCAMPAIGN, '', '', '', 0, '', '', '', '', false, false); - InsertData(XCAMPAIGN, '21', XSalesRetailEU, CA.Convert('996120'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '22', XPurchRetailEU, CA.Convert('997120'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '2', XTradingMarginEU, '-22-21', 2, '', '', '', '', false, true); - InsertData(XCAMPAIGN, '', '', '', 0, '', '', '', '', false, false); - InsertData(XCAMPAIGN, '31', XSalesRetailExport, CA.Convert('996130'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '32', XPurchRetailExport, CA.Convert('997130'), 0, XSUMMER, '', '', '', true, false); - InsertData(XCAMPAIGN, '3', XTradingMarginExport, '-32-31', 2, '', '', '', '', false, true); - InsertData(XCAMPAIGN, '', '', '', 0, '', '', '', '', false, false); - InsertData(XCAMPAIGN, '', XCampaignResult, '1+2+3', 2, '', '', '', '', false, true); - - InsertData(XREVENUE, '', XREVENUE, '', 0, '', '', '', '', false, true); - InsertData(XREVENUE, '', '', '', 0, '', '', '', '', false, false); - InsertData(XREVENUE, '', XSalesofRetail, '', 0, '', '', '', '', false, false); - InsertData(XREVENUE, '11', XSalesRetailDom, CA.Convert('996110'), 0, '', '', '', '', false, false); - InsertData(XREVENUE, '12', XSalesRetailEU, CA.Convert('996120'), 0, '', '', '', '', false, false); - InsertData(XREVENUE, '13', XSalesRetailExport, CA.Convert('996130'), 0, '', '', '', '', false, false); - InsertData(XREVENUE, '14', XJobSalesAdjmtRetail, CA.Convert('996190'), 0, '', '', '', '', false, false); - InsertData(XREVENUE, '15', XSalesofRetailTotal, CA.Convert('996195'), 1, '', '', '', '', false, false); - InsertData(XREVENUE, '', '', '', 0, '', '', '', '', false, false); - InsertData( - XREVENUE, '', XRevenueArea10to30Total, - StrSubstNo('%1..%2', CA.Convert('996110'), CA.Convert('996195')), 0, '10..30', '', '', '', false, false); - InsertData( - XREVENUE, '', XRevenueArea40to85Total, - StrSubstNo('%1..%2', CA.Convert('996110'), CA.Convert('996195')), 0, '40..85', '', '', '', false, false); - InsertData( - XREVENUE, '', XRevenuenoAreacodeTotal, - StrSubstNo('%1..%2', CA.Convert('996110'), CA.Convert('996195')), 0, '''''', '', '', '', false, false); - InsertData( - XREVENUE, '', XRevenueTotal, - StrSubstNo('%1..%2', CA.Convert('996110'), CA.Convert('996195')), 0, '', '', '', '', false, true); - - InsertData(XCASTAFF, '10', XPersonalCosts, '', 6, '', '', '', '', false, false); - InsertData(XCASTAFF, '20', XMonthlySalaries, CA.Convert('998710') + '..' + CA.Convert('998720'), 6, '', '', '', '', false, false); - InsertData(XCASTAFF, '40', XSocialSecurity, CA.Convert('998730') + '..' + CA.Convert('998730'), 6, '', '', '', '', false, false); - - InsertData(XCATRANSFER, '100', XTransferOverheadCosts, '', 6, '', '', '', '', false, false); - InsertData(XCATRANSFER, '200', XInitialCostCenters, '9901', 6, '', '', '', '', false, false); - InsertData(XCATRANSFER, '300', XMainCostCenters, '9902', 6, '', '', '', '', false, false); - InsertData(XCATRANSFER, '500', XTotalTransfers, '200..300', 2, '', '', '', '', false, false); - - InsertData(XCAPROF, '100', XCCCOSummaryReport, '', 6, '', '', '', '', false, false); - InsertData(XCAPROF, '110', XRevenues, CA.Convert('996110') + '..' + CA.Convert('996955'), 7, '', '', '', '', false, false); - InsertData(XCAPROF, '120', XRevenueReductions, CA.Convert('996710') + '..' + CA.Convert('996910'), 6, '', '', '', '', false, false); - InsertData(XCAPROF, '130', XNetRevenue, '110..120', 2, '', '', '', '', false, false); - InsertData(XCAPROF, '140', XMaterialCosts, CA.Convert('997110') + '..' + CA.Convert('997894'), 6, '', '', '', '', false, false); - InsertData(XCAPROF, '160', XGrossProfit, '130..150', 2, '', '', '', '', false, false); - InsertData(XCAPROF, '170', XSalaryDirectCosts, CA.Convert('998790'), 6, '', '', '', '', false, false); - InsertData(XCAPROF, '300', XMainCostCenters, '9902', 6, '', '', '', '', false, false); - InsertData(XCAPROF, '500', XTotalTransfers, '200..300', 2, '', '', '', '', false, false); - - InsertDataForCashFlow( - XDEGREE, '', XCalculationBase, '', false, true, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'R10', XCashFlowFunds, '2100', false, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'R20', XMonetarycurrentAssets, '0010|0030|0040|0060|2100', false, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'R30', XCurrentAssets, '0010..0070|2100', false, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'R40', XShortTermObligations, '1010..1100', false, false, false, false, true); - InsertDataForCashFlow( - XDEGREE, '', '', '', false, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'L1', XCashFlow1Degree, 'R10/R40', true, true, false, false, true); - InsertDataForCashFlow( - XDEGREE, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'L2', XCashFlow2Degree, 'R20/R40', true, true, false, false, true); - InsertDataForCashFlow( - XDEGREE, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XDEGREE, 'L3', XCashFlow3Degree, 'R30/R40', true, true, false, false, true); - - InsertDataForCashFlow( - XCASHFLOW, 'R10', XReceivables, '0010', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XOpenSalesOrders, '0020', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XOpenServiceOrders, '0080', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XRentals, '0030', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XFinancialAssets, '0040', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XFixedAssetsDisposals, '0050', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XPrivateInvestments, '0060', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R10', XMiscellaneousReceipts, '0070', true, false, false, true, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R20', XTotalofCashReceipts, 'R10', true, true, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XPayables, '1010', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XOpenPurchaseOrders, '1020', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XPersonnelCosts, '1030', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XRunningCosts, '1040', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XFinanceCosts, '1050', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XMiscellaneousCosts, '1060', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XInvestments, '1070', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XEncashmentOfBills, '1080', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XPrivateConsumptions, '1090', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XVATDue, '1100', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R30', XOtherExpenses, '1110', true, false, false, true, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R40', XTotalOfCashDisbursements, 'R30', true, true, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R50', XSurplus, 'R10|R40', true, true, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R60', XCashFlowFunds, '2100', true, false, false, true, false); - InsertDataForCashFlow( - XCASHFLOW, '', '', '', true, false, false, false, false); - InsertDataForCashFlow( - XCASHFLOW, 'R70', XTotalCashFlow, 'R50|R60', true, true, false, false, false); end; var diff --git a/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al b/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al index 029dfe9c93b..0b75d5187cd 100644 --- a/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al @@ -5,17 +5,6 @@ codeunit 101084 "Create Acc. Schedule Name" begin exit; // RU - UpdateEvaluationDate(); - InsertData(XCAMPAIGN, XCampaignAnalysis, XBUDGANALYS, XCAMPAIGN); - InsertData(XCASTAFF, XCostAcctPersonnelCosts, '', ''); - InsertData(XCATRANSFER, XCostAcctTransfer, '', ''); - InsertData(XCAPROF, XCostAcctSummaryRecordDB, '', ''); - InsertData(XDEGREE, XCalculationOfCashFlowRatio, XDEGREE, ''); - - InsertData(XCASHFLOW, XCalculationOfCashFlow, XCASHFLOW, ''); - - InsertData(XANALYSIS, XCapitalStructure, '', ''); - InsertData(XREVENUE, XRevenues, XBUDGANALYS, ''); end; procedure InsertEvaluationData(); diff --git a/src/Layers/RU/DemoTool/CreateFAAllocation.Codeunit.al b/src/Layers/RU/DemoTool/CreateFAAllocation.Codeunit.al index bf340cbe7fb..91eb7ee1a25 100644 --- a/src/Layers/RU/DemoTool/CreateFAAllocation.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateFAAllocation.Codeunit.al @@ -5,15 +5,6 @@ codeunit 101810 "Create FA Allocation" begin exit; // Not used in RU - InsertData(XTELEPHONE, "FA Allocation Type"::Depreciation, '998820', XADM, 30); - InsertData(XTELEPHONE, "FA Allocation Type"::Depreciation, '998820', XPROD, 20); - InsertData(XTELEPHONE, "FA Allocation Type"::Depreciation, '998820', XSALES, 50); - InsertData(XTELEPHONE, "FA Allocation Type"::Gain, '998840', XADM, 30); - InsertData(XTELEPHONE, "FA Allocation Type"::Gain, '998840', XPROD, 20); - InsertData(XTELEPHONE, "FA Allocation Type"::Gain, '998840', XSALES, 50); - InsertData(XTELEPHONE, "FA Allocation Type"::Loss, '998840', XADM, 30); - InsertData(XTELEPHONE, "FA Allocation Type"::Loss, '998840', XPROD, 20); - InsertData(XTELEPHONE, "FA Allocation Type"::Loss, '998840', XSALES, 50); end; var diff --git a/src/Layers/RU/DemoTool/CreateStdGenJournalLine.Codeunit.al b/src/Layers/RU/DemoTool/CreateStdGenJournalLine.Codeunit.al index 39c2ba908f5..9f89f36f349 100644 --- a/src/Layers/RU/DemoTool/CreateStdGenJournalLine.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateStdGenJournalLine.Codeunit.al @@ -5,14 +5,6 @@ codeunit 101761 "Create Std. Gen. Journal Line" begin exit; // RU - LineNo := 0; - InsertData(XGENERAL, XPAYROLL, 0, '998710', 100000, XPayrollJournal, XADM); - InsertData(XGENERAL, XPAYROLL, 0, '998720', 30000, XPayrollJournal, XADM); - InsertData(XGENERAL, XPAYROLL, 0, '998730', 1000, XPayrollJournal, XADM); - InsertData(XGENERAL, XPAYROLL, 0, '998750', 8000, XPayrollJournal, XADM); - InsertData(XGENERAL, XPAYROLL, 0, '995830', -8000, XPayrollJournal, XADM); - InsertData(XGENERAL, XPAYROLL, 0, '998740', 25000, XPayrollJournal, XADM); - InsertData(XGENERAL, XPAYROLL, 3, XWWBOPERATING, -156000, XPayrollJournal, XADM); end; var diff --git a/src/Layers/RU/DemoTool/CreateStdPurchaseLine.Codeunit.al b/src/Layers/RU/DemoTool/CreateStdPurchaseLine.Codeunit.al index 417d6abbc26..218edc7bce7 100644 --- a/src/Layers/RU/DemoTool/CreateStdPurchaseLine.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateStdPurchaseLine.Codeunit.al @@ -5,18 +5,6 @@ codeunit 101047 "Create Std. Purchase Line" begin exit; // RU - LineNo := 0; - InsertData(XCLEANING, 1, '998110', 125, Xforadministration, XADM); - InsertData(XCLEANING, 1, '998110', 100, Xforproduction, XPROD); - LineNo := 0; - InsertData(XPAINT, 2, '70103', 0, '', ''); - InsertData(XPAINT, 2, '70100', 0, '', ''); - InsertData(XPAINT, 2, '70102', 0, '', ''); - InsertData(XPAINT, 5, XJBFREIGHT, 0, '', ''); - LineNo := 0; - InsertData(XPAPER, 2, '80100', 0, '', ''); - LineNo := 0; - InsertData(XPOSTAGE, 1, '998240', 0, '', ''); end; var diff --git a/src/Layers/RU/DemoTool/InterfaceTaxAccounting.Codeunit.al b/src/Layers/RU/DemoTool/InterfaceTaxAccounting.Codeunit.al index b2a7558df4d..c8d25243049 100644 --- a/src/Layers/RU/DemoTool/InterfaceTaxAccounting.Codeunit.al +++ b/src/Layers/RU/DemoTool/InterfaceTaxAccounting.Codeunit.al @@ -83,13 +83,6 @@ codeunit 163408 "Interface Tax Accounting" begin exit; - TaxRegSection.FindFirst(); - TaxRegSection.SetRange(Code, TaxRegSection.Code); - CreateTaxRegisters.UseRequestPage(false); - CreateTaxRegisters.SetTableView(TaxRegSection); - CreateTaxRegisters.Run(); - Clear(CreateTaxRegisters); - Commit(); end; } diff --git a/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al b/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al index 8873426cc7d..7c62009bac9 100644 --- a/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al +++ b/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al @@ -5,15 +5,6 @@ codeunit 101904 "Modify Currency" begin exit; // RU - Currency.Reset(); - if Currency.Find('-') then - repeat - Currency.Validate("Unrealized Gains Acc.", CA.Convert('999310')); - Currency.Validate("Unrealized Losses Acc.", CA.Convert('999320')); - Currency.Validate("Realized Gains Acc.", CA.Convert('999330')); - Currency.Validate("Realized Losses Acc.", CA.Convert('999340')); - Currency.Modify(); - until Currency.Next() = 0; end; var diff --git a/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al b/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al index 43ab8bba31d..9a8ece691f4 100644 --- a/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al +++ b/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al @@ -908,102 +908,6 @@ codeunit 134897 "ERM Source Currency" AmountLCYRealisedLoss: Decimal; begin exit; - - Initialize(); - - // [GIVEN] Vendor with new posting groups with normal VAT. - VendorNo := CreateVendorWithNewPostingGroups(VendorPostingGroup, GeneralPostingSetup, VATPostingSetup, VATPostingSetup."VAT Calculation Type"::"Normal VAT"); - - // [GIVEN] A posted Purchase Invoice for a G/L Account. - CreateGLAccount(GLAccount, Enum::"General Posting Type"::Purchase, GeneralPostingSetup, VATPostingSetup); - CreatePurchaseInvoice(PurchaseHeader, VendorNo, GLAccount."No.", true); - Currency.Get(PurchaseHeader."Currency Code"); - AmountLCY := Round(CurrencyExchangeRate.ExchangeAmtFCYToLCY(WorkDate(), PurchaseHeader."Currency Code", PurchaseHeader."Amount Including VAT", PurchaseHeader."Currency Factor"), 0.01, '='); - PostedPurchaseInvoiceNo := LibraryPurchase.PostPurchaseDocument(PurchaseHeader, true, true); - - // [GIVEN] Higher currency exchange rate. - UpdateExchangeRate(CurrencyExchangeRate, PurchaseHeader."Currency Code", LibraryRandom.RandInt(50)); - AmountLCYUnrealisedLoss := Round(AmountLCY - (PurchaseHeader."Amount Including VAT" * CurrencyExchangeRate."Relational Exch. Rate Amount" / CurrencyExchangeRate."Exchange Rate Amount"), 0.01, '='); - - // [WHEN] Adjust Exchange Rate batch job is executed. -#pragma warning disable AA0139 - ExchRateAdjmDocNo := LibraryRandom.RandText(20); -#pragma warning restore AA0139 - LibraryERM.RunExchRateAdjustmentForDocNo(PurchaseHeader."Currency Code", ExchRateAdjmDocNo); - - GetGLEntries(GLEntry, ExchRateAdjmDocNo, GLEntry."Document Type"::" "); - repeat - // [THEN] Source Currency Code on G/L Entries should be empty. - Assert.AreEqual(PurchaseHeader."Currency Code", GLEntry."Source Currency Code", SourceCurrencyCodeFXGainLossErr); - - // [THEN] Source Currency Amount on G/L Entries should be 0. - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - - case GLEntry."G/L Account No." of - VendorPostingGroup.GetPayablesAccount(): - Assert.AreEqual(AmountLCYUnrealisedLoss, GLEntry.Amount, 'The Amount should be equal to the unrealised loss amount'); - Currency."Unrealized Losses Acc.": - Assert.AreEqual(-AmountLCYUnrealisedLoss, GLEntry.Amount, 'The Amount should be equal to the unrealised loss amount'); - else - Error(UnexpectedAccountNoErr, GLEntry."G/L Account No."); - end; - until GLEntry.Next() = 0; - - // [WHEN] A payment is posted for the Purchase Invoice with another exchange rate. - AmountLCYRealisedLoss := -AmountLCYUnrealisedLoss + LibraryRandom.RandInt(50); - CreateGeneralJournalLine( - GenJournalLine, GenJournalLine."Document Type"::Payment, GenJournalLine."Account Type"::Vendor, - VendorNo, PurchaseHeader."Currency Code", PurchaseHeader."Amount Including VAT", AmountLCY + AmountLCYRealisedLoss, WorkDate()); - - VendorLedgerEntry.SetAutoCalcFields(Amount, "Amount (LCY)"); - LibraryERM.FindVendorLedgerEntry(VendorLedgerEntry, VendorLedgerEntry."Document Type"::Invoice, PostedPurchaseInvoiceNo); - GenJournalLine.Validate("Applies-to Doc. Type", VendorLedgerEntry."Document Type"); - GenJournalLine.Validate("Applies-to Doc. No.", VendorLedgerEntry."Document No."); - GenJournalLine.Modify(true); - LibraryERM.PostGeneralJnlLine(GenJournalLine); - - GetGLEntries(GLEntry, GenJournalLine."Document No.", GLEntry."Document Type"::Payment); - repeat - Factor := GLEntry.Amount / Abs(GLEntry.Amount); - case GLEntry."G/L Account No." of - VendorPostingGroup.GetPayablesAccount(): - // [THEN] Source Currency Amount on G/L Entry for Payables Account No. should be equal to the amount incl. VAT on the purchase invoice. - case GLEntry.Amount of - GenJournalLine."Amount (LCY)": - Assert.AreEqual(-VendorLedgerEntry.Amount, GLEntry."Source Currency Amount", 'The Source Currency Amount should be equal to the amount including VAT on the purchase invoice'); - -AmountLCYUnrealisedLoss: - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - -AmountLCYRealisedLoss: - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - // else - // Error('The amount %1 on the payables account was unpexpected. Expected: Payment amount %2, Unrealised loss %3, Realised loss: %4', GLEntry.Amount, GenJournalLine.Amount, AmountLCYUnrealisedLoss, AmountLCYRealisedLoss); - end; - GenJournalLine."Bal. Account No.": - // begin - // [THEN] Source Currency Amount on G/L Entries for Bal. Account No. should be equal to the negative amount on the general journal line. - Assert.AreEqual(-GenJournalLine."Amount (LCY)", GLEntry.Amount, 'The G/L entry amount on the balance account no. should be equal to the negative LCY amount on the general journal line'); - // Assert.AreEqual(-GenJournalLine.Amount, GLEntry."Source Currency Amount", 'The G/L Entry source currency amount should be equal to the negative amount on the general journal line'); - // end; - Currency."Unrealized Losses Acc.": - begin - // [THEN] Source Currency Amount on G/L Entries for Unrealized Losses Account No. should be equal to the unrealised loss amount. - Assert.AreEqual(AmountLCYUnrealisedLoss, GLEntry.Amount, 'The G/L entry amount on the unrealised losses account no. should be equal to the unrealised loss amount'); - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - end; - Currency."Realized Losses Acc.": - begin - // [THEN] Source Currency Amount on G/L Entries for Realized Losses Account No. should be equal to the realised loss amount. - Assert.AreEqual(AmountLCYRealisedLoss, GLEntry.Amount, 'The G/L entry amount on the realised losses account should be equal to the realised loss amount'); - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - end; - else - Error(UnexpectedAccountNoErr, GLEntry."G/L Account No."); - end; - SCYBalance += GLEntry."Source Currency Amount"; - until GLEntry.Next() = 0; - - // [THEN] Source Currency Amount on G/L Entries should balance to 0. - // Assert.AreEqual(0, SCYBalance, TotalSCYAmountNotZeroErr); end; [Test] @@ -1029,102 +933,6 @@ codeunit 134897 "ERM Source Currency" AmountLCYRealisedGain: Decimal; begin exit; - - Initialize(); - - // [GIVEN] Vendor with new posting groups with normal VAT. - VendorNo := CreateVendorWithNewPostingGroups(VendorPostingGroup, GeneralPostingSetup, VATPostingSetup, VATPostingSetup."VAT Calculation Type"::"Normal VAT"); - - // [GIVEN] A posted Purchase Invoice for a G/L Account. - CreateGLAccount(GLAccount, Enum::"General Posting Type"::Purchase, GeneralPostingSetup, VATPostingSetup); - CreatePurchaseInvoice(PurchaseHeader, VendorNo, GLAccount."No.", true); - Currency.Get(PurchaseHeader."Currency Code"); - AmountLCY := Round(CurrencyExchangeRate.ExchangeAmtFCYToLCY(WorkDate(), PurchaseHeader."Currency Code", PurchaseHeader."Amount Including VAT", PurchaseHeader."Currency Factor"), 0.01, '='); - PostedPurchaseInvoiceNo := LibraryPurchase.PostPurchaseDocument(PurchaseHeader, true, true); - - // [GIVEN] Lower currency exchange rate. - UpdateExchangeRate(CurrencyExchangeRate, PurchaseHeader."Currency Code", -LibraryRandom.RandInt(50)); - AmountLCYUnrealisedGain := Round(AmountLCY - (PurchaseHeader."Amount Including VAT" * CurrencyExchangeRate."Relational Exch. Rate Amount" / CurrencyExchangeRate."Exchange Rate Amount"), 0.01, '='); - - // [WHEN] Adjust Exchange Rate batch job is executed. -#pragma warning disable AA0139 - ExchRateAdjmDocNo := LibraryRandom.RandText(20); -#pragma warning restore AA0139 - LibraryERM.RunExchRateAdjustmentForDocNo(PurchaseHeader."Currency Code", ExchRateAdjmDocNo); - - GetGLEntries(GLEntry, ExchRateAdjmDocNo, GLEntry."Document Type"::" "); - repeat - // [THEN] Source Currency Code on G/L Entries should be empty. - Assert.AreEqual(PurchaseHeader."Currency Code", GLEntry."Source Currency Code", SourceCurrencyCodeFXGainLossErr); - - // [THEN] Source Currency Amount on G/L Entries should be 0. - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - - case GLEntry."G/L Account No." of - VendorPostingGroup.GetPayablesAccount(): - Assert.AreEqual(AmountLCYUnrealisedGain, GLEntry.Amount, 'The Amount should be equal to the unrealised gain amount'); - Currency."Unrealized Gains Acc.": - Assert.AreEqual(-AmountLCYUnrealisedGain, GLEntry.Amount, 'The Amount should be equal to the unrealised gain amount'); - else - Error(UnexpectedAccountNoErr, GLEntry."G/L Account No."); - end; - until GLEntry.Next() = 0; - - // [WHEN] A payment is posted for the Purchase Invoice with another exchange rate. - AmountLCYRealisedGain := -AmountLCYUnrealisedGain - LibraryRandom.RandInt(50); - CreateGeneralJournalLine( - GenJournalLine, GenJournalLine."Document Type"::Payment, GenJournalLine."Account Type"::Vendor, - VendorNo, PurchaseHeader."Currency Code", PurchaseHeader."Amount Including VAT", AmountLCY + AmountLCYRealisedGain, WorkDate()); - - VendorLedgerEntry.SetAutoCalcFields(Amount, "Amount (LCY)"); - LibraryERM.FindVendorLedgerEntry(VendorLedgerEntry, VendorLedgerEntry."Document Type"::Invoice, PostedPurchaseInvoiceNo); - GenJournalLine.Validate("Applies-to Doc. Type", VendorLedgerEntry."Document Type"); - GenJournalLine.Validate("Applies-to Doc. No.", VendorLedgerEntry."Document No."); - GenJournalLine.Modify(true); - LibraryERM.PostGeneralJnlLine(GenJournalLine); - - GetGLEntries(GLEntry, GenJournalLine."Document No.", GLEntry."Document Type"::Payment); - repeat - Factor := GLEntry.Amount / Abs(GLEntry.Amount); - case GLEntry."G/L Account No." of - VendorPostingGroup.GetPayablesAccount(): - // [THEN] Source Currency Amount on G/L Entry for Payables Account No. should be equal to the amount incl. VAT on the purchase invoice. - case GLEntry.Amount of - GenJournalLine."Amount (LCY)": - Assert.AreEqual(-VendorLedgerEntry.Amount, GLEntry."Source Currency Amount", 'The Source Currency Amount should be equal to the amount including VAT on the purchase invoice'); - -AmountLCYUnrealisedGain: - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - -AmountLCYRealisedGain: - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - // else - // Error('The amount %1 on the payables account was unpexpected. Expected: Payment amount %2, Unrealised gain %3, Realised gain: %4', GLEntry.Amount, GenJournalLine.Amount, AmountLCYUnrealisedGain, AmountLCYRealisedGain); - end; - GenJournalLine."Bal. Account No.": - // begin - // [THEN] Source Currency Amount on G/L Entries for Bal. Account No. should be equal to the negative amount on the general journal line. - Assert.AreEqual(-GenJournalLine."Amount (LCY)", GLEntry.Amount, 'The G/L entry amount on the balance account no. should be equal to the negative LCY amount on the general journal line'); - // Assert.AreEqual(-GenJournalLine.Amount, GLEntry."Source Currency Amount", 'The G/L Entry source currency amount should be equal to the negative amount on the general journal line'); - // end; - Currency."Unrealized Gains Acc.": - begin - // [THEN] Source Currency Amount on G/L Entries for Unrealized Gains Account No. should be equal to the unrealised gain amount. - Assert.AreEqual(AmountLCYUnrealisedGain, GLEntry.Amount, 'The G/L entry amount on the unrealised gains account no. should be equal to the unrealised gains amount'); - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - end; - Currency."Realized Gains Acc.": - begin - // [THEN] Source Currency Amount on G/L Entries for Realized Gains Account No. should be equal to the realised gai amount. - Assert.AreEqual(AmountLCYRealisedGain, GLEntry.Amount, 'The G/L entry amount on the realised gains account should be equal to the realised gains amount'); - Assert.AreEqual(0, GLEntry."Source Currency Amount", SourceCurrencyAmountShouldBeZeroErr); - end; - else - Error(UnexpectedAccountNoErr, GLEntry."G/L Account No."); - end; - SCYBalance += GLEntry."Source Currency Amount"; - until GLEntry.Next() = 0; - - // [THEN] Source Currency Amount on G/L Entries should balance to 0. - // Assert.AreEqual(0, SCYBalance, TotalSCYAmountNotZeroErr); end; [Test] diff --git a/src/Layers/RU/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al b/src/Layers/RU/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al index 0c5a2160b8f..fb954915e9d 100644 --- a/src/Layers/RU/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al +++ b/src/Layers/RU/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al @@ -3822,7 +3822,6 @@ codeunit 134103 "ERM Prepayment IV" Currency.Validate("Invoice Rounding Precision", LibraryRandom.RandDec(0, 2)); Currency.Modify(true); exit(Currency.Code); - LibraryERM.SetAddReportingCurrency(Currency.Code); end; local procedure CreateSalesDocumentWithCurrency(var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; CurrencyCode: Code[10]; CustomerNo: Code[20]; DocumentType: Enum "Sales Document Type"): Decimal diff --git a/src/Layers/RU/Tests/VAT/ERMVATonJnl.Codeunit.al b/src/Layers/RU/Tests/VAT/ERMVATonJnl.Codeunit.al index bbd80edf015..e227e8926e9 100644 --- a/src/Layers/RU/Tests/VAT/ERMVATonJnl.Codeunit.al +++ b/src/Layers/RU/Tests/VAT/ERMVATonJnl.Codeunit.al @@ -655,9 +655,6 @@ codeunit 134044 "ERM VAT on Jnl" // Verify: Verify that correct GL Entry VAT Entry Link exists for posted entry. exit; // Known issue - FindGLEntry(GLEntry, GenJournalLine."Document Type", GenJournalLine."Document No."); - FindVATEntry(VATEntry, GenJournalLine."Document Type", GenJournalLine."Document No."); - GLEntryVATEntryLink.Get(GLEntry."Entry No.", VATEntry."Entry No."); end; local procedure Initialize() diff --git a/src/Layers/W1/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al b/src/Layers/W1/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al index f385601cde8..386d027ce56 100644 --- a/src/Layers/W1/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al +++ b/src/Layers/W1/Tests/Prepayment/ERMPrepaymentIV.Codeunit.al @@ -3816,7 +3816,6 @@ codeunit 134103 "ERM Prepayment IV" Currency.Validate("Invoice Rounding Precision", LibraryRandom.RandDec(0, 2)); Currency.Modify(true); exit(Currency.Code); - LibraryERM.SetAddReportingCurrency(Currency.Code); end; local procedure CreateSalesDocumentWithCurrency(var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; CurrencyCode: Code[10]; CustomerNo: Code[20]; DocumentType: Enum "Sales Document Type"): Decimal diff --git a/src/rulesets/base.ruleset.json b/src/rulesets/base.ruleset.json index c9ed6000114..efabcbcf130 100644 --- a/src/rulesets/base.ruleset.json +++ b/src/rulesets/base.ruleset.json @@ -87,11 +87,6 @@ "action": "Warning", "justification": "Legacy extensionsPermissionSet.xml files in INTCS, INTDS and INTaxEngine must be converted to AL PermissionSet objects. Tracked by AB#640773." }, - { - "id": "AS0103", - "action": "Warning", - "justification": "Table is missing a matching permission set." - }, { "id": "AA0021", "action": "Warning", @@ -122,11 +117,6 @@ "action": "Warning", "justification": "The number of parameters passed to a string must match the placeholders." }, - { - "id": "AA0136", - "action": "Warning", - "justification": "Unreachable code detected." - }, { "id": "AA0139", "action": "Warning", @@ -280,11 +270,6 @@ "action": "None", "justification": "Field ID must be within the range '[50000..99999]'." }, - { - "id": "PTE0004", - "action": "Warning", - "justification": "Table is missing a matching permission set." - }, { "id": "PTE0008", "action": "Warning", @@ -311,10 +296,6 @@ "action": "Warning", "justification": "RoleID exceeds the maximum length in the legacy extensionsPermissionSet.xml files of INTCS, INTDS and INTaxEngine. Tracked by AB#640773." }, - { - "id": "AS0011", - "action": "Warning" - }, { "id": "AS0016", "action": "Warning" From 9450a20d00e98faefaaf05fc36605add51e1f3f1 Mon Sep 17 00:00:00 2001 From: Jesper Schulz-Wedde Date: Wed, 9 Sep 2026 11:32:53 +0200 Subject: [PATCH 3/7] Propagate Demo Data Setup analyzer scopes Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/Layers/APAC/DemoTool/DemoDataSetup.Table.al | 2 ++ src/Layers/DACH/DemoTool/DemoDataSetup.Table.al | 2 ++ src/Layers/NA/DemoTool/DemoDataSetup.Table.al | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/Layers/APAC/DemoTool/DemoDataSetup.Table.al b/src/Layers/APAC/DemoTool/DemoDataSetup.Table.al index 07fe4db29c6..38f2bd709ce 100644 --- a/src/Layers/APAC/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/APAC/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/DACH/DemoTool/DemoDataSetup.Table.al b/src/Layers/DACH/DemoTool/DemoDataSetup.Table.al index 89d6e513512..919b385898c 100644 --- a/src/Layers/DACH/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/DACH/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; diff --git a/src/Layers/NA/DemoTool/DemoDataSetup.Table.al b/src/Layers/NA/DemoTool/DemoDataSetup.Table.al index 89d6e513512..919b385898c 100644 --- a/src/Layers/NA/DemoTool/DemoDataSetup.Table.al +++ b/src/Layers/NA/DemoTool/DemoDataSetup.Table.al @@ -1,4 +1,6 @@ +#pragma warning disable AS0103, PTE0004 // Accepted: this internal table is intentionally accessed only by its owning infrastructure and is not exposed through user permission sets. Tracked by AB#640773. table 101900 "Demo Data Setup" +#pragma warning restore AS0103, PTE0004 { Caption = 'Demo Data Setup'; DataPerCompany = false; From 6dbbdda21c8a94298c0b6ce1417d1ac56673dc19 Mon Sep 17 00:00:00 2001 From: Jesper Schulz-Wedde Date: Wed, 9 Sep 2026 13:42:25 +0200 Subject: [PATCH 4/7] Fix analyzer fallout from four-rule hardening Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../CreateAccScheduleLine.Codeunit.al | 34 ----------------- .../CreateAccScheduleName.Codeunit.al | 21 ----------- .../CreateServiceBaseCalendar.Codeunit.al | 6 --- .../CreateServiceBaseCalendar.Codeunit.al | 6 --- .../ERM/SEPACTGenJnlLineErrors.Codeunit.al | 2 - .../CZ/Tests/Misc/CountryRegionUT.Codeunit.al | 3 -- .../ES/Tests/Local/CarteraPosting.Codeunit.al | 37 ------------------- .../Permissions/local.permissionset.al | 7 +--- .../Permissions/localread.permissionset.al | 7 +--- .../ERM-Finance/ERMSourceCurrency.Codeunit.al | 31 +++------------- .../OfficialjournalledgerSumm.Report.al | 4 +- .../CreateVATStatementLine.Codeunit.al | 34 ----------------- .../Local/CreateVATPurchLedAdSh.Report.al | 10 ----- .../DemoTool/AdjustInventoryValue.Codeunit.al | 1 - .../CreateAccScheduleLine.Codeunit.al | 34 ----------------- .../CreateAccScheduleName.Codeunit.al | 10 ----- .../DemoTool/CreateFAAllocation.Codeunit.al | 4 -- .../CreateStdGenJournalLine.Codeunit.al | 5 --- .../CreateStdPurchaseLine.Codeunit.al | 9 ----- .../InterfaceTaxAccounting.Codeunit.al | 2 - .../RU/DemoTool/ModifyCurrency.Codeunit.al | 1 - .../ERM-Finance/ERMSourceCurrency.Codeunit.al | 5 --- .../d365automation.permissionset.al | 2 - .../d365basicedit.permissionset.al | 2 - .../Permissions/d365basicisv.permissionset.al | 2 - .../d365basicread.permissionset.al | 2 - .../d365busfullaccess.permissionset.al | 2 - .../Permissions/d365read.permissionset.al | 2 - .../d365teammember.permissionset.al | 2 - .../intelligentcloud.permissionset.al | 2 - 30 files changed, 11 insertions(+), 278 deletions(-) diff --git a/src/Layers/CH/DemoTool/CreateAccScheduleLine.Codeunit.al b/src/Layers/CH/DemoTool/CreateAccScheduleLine.Codeunit.al index 678d9bee60b..77200871adb 100644 --- a/src/Layers/CH/DemoTool/CreateAccScheduleLine.Codeunit.al +++ b/src/Layers/CH/DemoTool/CreateAccScheduleLine.Codeunit.al @@ -28,17 +28,9 @@ codeunit 101085 "Create Acc. Schedule Line" XOtherLiabilities: Label 'Other Liabilities'; XShorttermLiabilitiesTotal: Label 'Short-term Liabilities, Total'; XCurAminusShorttermLiabilities: Label 'Current Assets minus Short-term Liabilities'; - XCAMPAIGNANALYSIS: Label 'CAMPAIGN ANALYSIS'; XSalesRetailDom: Label 'Sales, Retail - Dom.'; - XPurchRetailDom: Label 'Purch, Retail - Dom.'; - XTradingMarginDomestic: Label 'Trading Margin, Domestic'; XSalesRetailEU: Label 'Sales, Retail - EU'; - XPurchRetailEU: Label 'Purch, Retail - EU'; - XTradingMarginEU: Label 'Trading Margin, EU'; XSalesRetailExport: Label 'Sales, Retail - Export'; - XPurchRetailExport: Label 'Purch, Retail - Export'; - XTradingMarginExport: Label 'Trading Margin, Export'; - XCampaignResult: Label 'Campaign Result'; XCASHFLOW: Label 'CASHFLOW', Comment = 'Cashflow is a name of Account Schedule.'; XSurplus: Label 'Surplus'; XOpenSalesOrders: Label 'Open Sales Orders'; @@ -64,13 +56,6 @@ codeunit 101085 "Create Acc. Schedule Line" XTotalofCashReceipts: Label 'Total of Cash Receipts'; XOpenPurchaseOrders: Label 'Open Purchase Orders'; XMiscellaneousCosts: Label 'Miscellaneous costs'; - XCalculationBase: Label 'Calculation Base'; - XDEGREE: Label 'DEGREE', Comment = 'Degree is a name of Account Schedule.'; - XMonetarycurrentAssets: Label 'Monetary current assets'; - XShortTermObligations: Label 'Short-term obligations'; - XCashFlow1Degree: Label 'CashFlow 1. Degree'; - XCashFlow2Degree: Label 'CashFlow 2. Degree'; - XCashFlow3Degree: Label 'CashFlow 3. Degree'; XREVENUE: Label 'REVENUE'; XSalesofRetail: Label 'Sales of Retail'; XJobSalesAdjmtRetail: Label 'Job Sales Adjmt, Retail'; @@ -79,26 +64,7 @@ codeunit 101085 "Create Acc. Schedule Line" XRevenueArea40to85Total: Label 'Revenue Area 40..85, Total'; XRevenuenoAreacodeTotal: Label 'Revenue, no Area code, Total'; XRevenueTotal: Label 'Revenue, Total'; - XCAMPAIGN: Label 'CAMPAIGN'; XVAT: Label 'VAT'; - XSUMMER: Label 'SUMMER'; - XCASTAFF: Label 'CA-STAFF', Comment = 'Cost Acct. Personnel Costs.'; - XCATRANSFER: Label 'CA-TRANS', Comment = 'Cost Acct. Transfer.'; - XCAPROF: Label 'CA-PROF', Comment = 'Cost Acct. Summary Record DB per CC/CO.'; - XPersonalCosts: Label 'Personnel Costs'; - XMonthlySalaries: Label 'Monthly Salaries'; - XSocialSecurity: Label 'Social Security'; - XTransferOverheadCosts: Label 'Transfer Overhead Costs'; - XInitialCostCenters: Label 'Initial Cost Centers'; - XTotalTransfers: Label 'Total Transfers'; - XCCCOSummaryReport: Label 'CC / CO Summary Report'; - XRevenues: Label 'Revenues'; - XRevenueReductions: Label 'Revenue Reductions'; - XNetRevenue: Label 'Net Revenue'; - XMaterialCosts: Label 'Material Costs'; - XGrossProfit: Label 'Gross Profit'; - XSalaryDirectCosts: Label 'Salary Direct Costs'; - XMainCostCenters: Label 'Main Cost Centers'; XACCCAT: Label 'ACC-CAT', Comment = 'ACC-CAT is the name of the Account Schedule.'; XBALSHEET: Label 'BALANCE SHEET'; XIncomeThisYear: Label 'Income This Year'; diff --git a/src/Layers/CH/DemoTool/CreateAccScheduleName.Codeunit.al b/src/Layers/CH/DemoTool/CreateAccScheduleName.Codeunit.al index 4ce154eebf6..c103845045b 100644 --- a/src/Layers/CH/DemoTool/CreateAccScheduleName.Codeunit.al +++ b/src/Layers/CH/DemoTool/CreateAccScheduleName.Codeunit.al @@ -20,36 +20,16 @@ codeunit 101084 "Create Acc. Schedule Name" InsertData(XTBTxt, XTrialBalanceTxt, CreateColumnLayoutName.GetBBDRCREBColumnLayoutName(), ''); end; - local procedure UpdateEvaluationDate(); - var - AccScheduleName: Record "Acc. Schedule Name"; - begin - if AccScheduleName.get(XREVENUE) then begin - AccScheduleName.Validate("Analysis View Name", XREVENUE); - AccScheduleName.Modify() - end; - end; - var CreateColumnLayoutName: Codeunit "Create Column Layout Name"; XANALYSIS: Label 'ANALYSIS'; XBALONLY: Label 'BAL ONLY'; XCapitalStructure: Label 'Capital Structure'; - XCAMPAIGN: Label 'CAMPAIGN'; - XCampaignAnalysis: Label 'Campaign Analysis'; XBUDGANALYS: Label 'BUDGANALYS'; XREVENUE: Label 'REVENUE'; XRevenues: Label 'Revenues'; XCASHFLOW: Label 'CASHFLOW', Comment = 'Cashflow is a name of Account Schedule.'; - XDEGREE: Label 'DEGREE', Comment = 'Degree is a name of Account Schedule.'; XCalculationOfCashFlow: Label 'Calculation Of Cash Flow'; - XCalculationOfCashFlowRatio: Label 'Calculation of Cash Flow Ratio'; - XCASTAFF: Label 'CA-STAFF', Comment = 'Cost Acct. Personnel Costs.'; - XCostAcctPersonnelCosts: Label 'Cost Acct. Personnel Costs'; - XCATRANSFER: Label 'CA-TRANS', Comment = 'Cost Acct. Transfer.'; - XCostAcctTransfer: Label 'Cost Acct. Transfer'; - XCAPROF: Label 'CA-PROF', Comment = 'Cost Acct. Summary Record DB per CC/CO.'; - XCostAcctSummaryRecordDB: Label 'Cost Acct. Summary Record DB per CC/CO', Comment = 'It is description of Account Schedule Name. DB means Database, CC means Cost Center and CO means Cost Object.'; XACCCAT: Label 'ACC-CAT', Comment = 'ACC-CAT is the name of the Account Schedule.'; XAccCatOverview: Label 'Account Categories overview'; XPERIODS: Label 'PERIODS'; @@ -108,4 +88,3 @@ codeunit 101084 "Create Acc. Schedule Name" end; } - diff --git a/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al b/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al index 2166ace9b43..9fdbc652edf 100644 --- a/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al +++ b/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al @@ -63,19 +63,13 @@ codeunit 117507 "Create Service Base Calendar" BaseCalChange: Record "Base Calendar Change"; BaseCalendar: Record "Base Calendar"; Date: Record Date; - MakeAdjustments: Codeunit "Make Adjustments"; StartDate: Date; XSERVICE: Label 'SERVICE'; XServiceCalendar: Label 'Service Calendar'; - XGB: Label 'GB'; XWeekend: Label 'Weekend'; XNewYearsEve: Label 'New Years Eve'; XChristmasDay: Label 'Christmas Day'; XBoxingDay: Label 'Boxing Day'; - XMayDayBankHoliday: Label 'May Day Bank Holiday'; - XBankHoliday: Label 'Bank Holiday'; - XSummerBankHolidayScotland: Label 'Summer Bank Holiday, Scotland'; - XSummerBankHoliday: Label 'Summer Bank Holiday'; XCH: Label 'CH'; XCHBaseNationalCalendar: Label 'CH Base National Calendar'; XNatHol: Label 'National Holiday'; diff --git a/src/Layers/CZ/DemoTool/CreateServiceBaseCalendar.Codeunit.al b/src/Layers/CZ/DemoTool/CreateServiceBaseCalendar.Codeunit.al index a4b1f8e21d2..aca84073266 100644 --- a/src/Layers/CZ/DemoTool/CreateServiceBaseCalendar.Codeunit.al +++ b/src/Layers/CZ/DemoTool/CreateServiceBaseCalendar.Codeunit.al @@ -135,12 +135,6 @@ codeunit 117507 "Create Service Base Calendar" // NAVCZ XGB: Label 'GB'; XWeekend: Label 'Weekend'; - XNewYearsEve: Label 'New Years Eve'; - XBankHolidayScotlandOnly: Label 'Bank Holiday, Scotland Only'; - XStPatricksDay: Label 'St Patricks Day'; - XBattleoftheBoyneDay: Label 'Battle of the Boyne Day'; - XChristmasDay: Label 'Christmas Day'; - XBoxingDay: Label 'Boxing Day'; XMayDayBankHoliday: Label 'May Day Bank Holiday'; XBankHoliday: Label 'Bank Holiday'; XSummerBankHolidayScotland: Label 'Summer Bank Holiday, Scotland'; diff --git a/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al b/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al index 33649a10c98..79a5dd149a7 100644 --- a/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al +++ b/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al @@ -19,8 +19,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" LibraryTestInitialize: Codeunit "Library - Test Initialize"; IsInitialized: Boolean; MustBeBankAccErr: Label 'The balancing account must be a bank account.'; - MustBeVendorEmployeeOrCustomerErr: Label 'The account must be a vendor, customer or employee account.'; - MustBeVendEmplPmtOrCustRefundErr: Label 'Only vendor and employee payments and customer refunds are allowed.'; MustBePositiveErr: Label 'The amount must be positive.'; TransferDateErr: Label 'The earliest possible transfer date is today.'; EuroCurrErr: Label 'Only transactions in euro (EUR) are allowed, because the %1 bank account is set up to use the %2 export format.'; diff --git a/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al b/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al index 4d2eeac9eb1..0a34ef5bd91 100644 --- a/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al +++ b/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al @@ -168,10 +168,7 @@ codeunit 134277 "Country/Region UT" var CountryRegion: Record "Country/Region"; CountryRegionTranslation: Record "Country/Region Translation"; - FormatAddress: Codeunit "Format Address"; - CountryLineNo: Integer; AddrArray: array[8] of Text[100]; - WrongValueInAddressArrayErr: Label 'Address Array at position %1', Comment = '%1 = Country/Region Position'; begin exit; // [FEATURE] [Country/Region Translation] diff --git a/src/Layers/ES/Tests/Local/CarteraPosting.Codeunit.al b/src/Layers/ES/Tests/Local/CarteraPosting.Codeunit.al index f0021b203d0..123864ad288 100644 --- a/src/Layers/ES/Tests/Local/CarteraPosting.Codeunit.al +++ b/src/Layers/ES/Tests/Local/CarteraPosting.Codeunit.al @@ -3048,42 +3048,6 @@ codeunit 147305 "Cartera Posting" VATPostingSetup."Purch. VAT Unreal. Account", VATPostingSetup."Sales VAT Unreal. Account"); end; - local procedure SalesUnrealVATPayToSeveralBills(ApplyFromGenJnlLine: Boolean) - var - VATPostingSetup: Record "VAT Posting Setup"; - PaymentTerms: Record "Payment Terms"; - GenJnlLine: Record "Gen. Journal Line"; - CustNo: Code[20]; - InvoiceNo: Code[20]; - BillNo: array[2] of Code[20]; - PayNo: Code[20]; - InvAmount: Decimal; - BillAmount: array[2] of Decimal; - PayAmount: Decimal; - begin - Initialize(); - UpdateGenLedgVATSetup(true); - LibraryERM.FindVATPostingSetup(VATPostingSetup, VATPostingSetup."VAT Calculation Type"::"Normal VAT"); - UpdateUnrealVATPostingSetup( - VATPostingSetup, VATPostingSetup."Unrealized VAT Type"::Percentage, LibraryERM.CreateGLAccountNo(), LibraryERM.CreateGLAccountNo()); - - CustNo := - CreateCustWithPaymentTermsAndVATGroup(PaymentTerms."VAT distribution"::Proportional, VATPostingSetup."VAT Bus. Posting Group"); - InvoiceNo := - CreatePostSalesInvoiceWithVATGroup(InvAmount, CustNo, VATPostingSetup."VAT Prod. Posting Group"); - CreateApplyPostSeveralBillsToInvoice( - BillNo, BillAmount, GenJnlLine."Account Type"::Customer, CustNo, InvoiceNo, InvAmount); - PayAmount := -InvAmount; - PayNo := - CreatePostPaymentToSeveralBills( - GenJnlLine."Account Type"::Customer, CustNo, InvoiceNo, BillNo, PayAmount, ApplyFromGenJnlLine); - - CalcAmtAndVerifyMultipleEntries(VATPostingSetup, CustNo, PayNo, InvAmount, BillAmount); - - UpdateUnrealVATPostingSetup(VATPostingSetup, VATPostingSetup."Unrealized VAT Type", - VATPostingSetup."Purch. VAT Unreal. Account", VATPostingSetup."Sales VAT Unreal. Account"); - end; - local procedure PurchUnrealVATPayToSeveralBills(ApplyFromGenJnlLine: Boolean) var VATPostingSetup: Record "VAT Posting Setup"; @@ -3701,4 +3665,3 @@ codeunit 147305 "Cartera Posting" ApplyVendEntries.OK().Invoke(); end; } - diff --git a/src/Layers/GB/BaseApp/Permissions/local.permissionset.al b/src/Layers/GB/BaseApp/Permissions/local.permissionset.al index 7213d71e43d..b06216d9461 100644 --- a/src/Layers/GB/BaseApp/Permissions/local.permissionset.al +++ b/src/Layers/GB/BaseApp/Permissions/local.permissionset.al @@ -7,23 +7,20 @@ using Microsoft.Finance.GeneralLedger.Setup; #if not CLEAN27 using Microsoft.Finance.VAT.Reporting; #endif -#if not CLEAN28 using Microsoft.Foundation.Address; using Microsoft.Sales.FinanceCharge; -#endif permissionset 1001 "LOCAL" { Access = Public; #if CLEAN28 Assignable = false; + Permissions = tabledata "Fin. Charge Interest Rate" = RIMD, + tabledata "Postcode Notification Memory" = RIMD; #else Assignable = true; Caption = 'Country/region-specific func.'; -#if CLEAN28 - Permissions = tabledata "Accounting Period GB" = RIMD; -#endif Permissions = tabledata "Accounting Period GB" = RIMD, tabledata "BACS Ledger Entry" = RIMD, tabledata "BACS Register" = RIMD, diff --git a/src/Layers/GB/BaseApp/Permissions/localread.permissionset.al b/src/Layers/GB/BaseApp/Permissions/localread.permissionset.al index fcb54aed359..9d486c813f3 100644 --- a/src/Layers/GB/BaseApp/Permissions/localread.permissionset.al +++ b/src/Layers/GB/BaseApp/Permissions/localread.permissionset.al @@ -7,22 +7,19 @@ using Microsoft.Finance.GeneralLedger.Setup; #if not CLEAN27 using Microsoft.Finance.VAT.Reporting; #endif -#if not CLEAN28 using Microsoft.Foundation.Address; using Microsoft.Sales.FinanceCharge; -#endif permissionset 1002 "LOCAL READ" { Access = Public; #if CLEAN28 Assignable = false; + Permissions = tabledata "Fin. Charge Interest Rate" = R, + tabledata "Postcode Notification Memory" = R; #else Assignable = true; Caption = 'Country/region-specific read only access.'; -#if CLEAN28 - Permissions = tabledata "Accounting Period GB" = R; -#endif Permissions = tabledata "Accounting Period GB" = R, tabledata "BACS Ledger Entry" = R, tabledata "BACS Register" = R, diff --git a/src/Layers/IT/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al b/src/Layers/IT/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al index 6aee501aaba..17a87886d54 100644 --- a/src/Layers/IT/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al +++ b/src/Layers/IT/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al @@ -103,23 +103,16 @@ codeunit 134897 "ERM Source Currency" [Test] procedure GenJournalPurchaseReverseChargeVATLCY() begin - GenJournalPurchaseReverseChargeVAT(false); + GenJournalPurchaseReverseChargeVAT(); end; [Test] procedure GenJournalPurchaseReverseChargeVATFCY() begin - GenJournalPurchaseReverseChargeVAT(true); + GenJournalPurchaseReverseChargeVAT(); end; - local procedure GenJournalPurchaseReverseChargeVAT(ForeignCurrency: Boolean) - var - VATPostingSetup: Record "VAT Posting Setup"; - GenJournalLine: Record "Gen. Journal Line"; - GLEntry: Record "G/L Entry"; - Factor: Integer; - SCYBalance: Decimal; - VATAmount: Decimal; + local procedure GenJournalPurchaseReverseChargeVAT() begin exit; // Disable for IT end; @@ -485,28 +478,16 @@ codeunit 134897 "ERM Source Currency" [Test] procedure PurchaseInvoiceReverseChargeVATLCY() begin - PurchaseInvoiceReverseChargeVAT(false); + PurchaseInvoiceReverseChargeVAT(); end; [Test] procedure PurchaseInvoiceReverseChargeVATFCY() begin - PurchaseInvoiceReverseChargeVAT(true); + PurchaseInvoiceReverseChargeVAT(); end; - local procedure PurchaseInvoiceReverseChargeVAT(WithForeignCurrency: Boolean) - var - VendorPostingGroup: Record "Vendor Posting Group"; - GeneralPostingSetup: Record "General Posting Setup"; - VATPostingSetup: Record "VAT Posting Setup"; - PurchaseHeader: Record "Purchase Header"; - GLAccount: Record "G/L Account"; - GLEntry: Record "G/L Entry"; - VendorNo: Code[20]; - PostedPurchaseInvoiceNo: Code[20]; - Factor: Integer; - SCYBalance: Decimal; - VATAmount: Decimal; + local procedure PurchaseInvoiceReverseChargeVAT() begin exit; // Disabled for IT end; diff --git a/src/Layers/NA/BaseApp/Local/Finance/GeneralLedger/Reports/OfficialjournalledgerSumm.Report.al b/src/Layers/NA/BaseApp/Local/Finance/GeneralLedger/Reports/OfficialjournalledgerSumm.Report.al index f9cb35d55ab..b9f6d80a579 100644 --- a/src/Layers/NA/BaseApp/Local/Finance/GeneralLedger/Reports/OfficialjournalledgerSumm.Report.al +++ b/src/Layers/NA/BaseApp/Local/Finance/GeneralLedger/Reports/OfficialjournalledgerSumm.Report.al @@ -554,9 +554,8 @@ report 14030 "Official journal ledger Summ." if FromDate <> ToDate then begin AccPeriod.SetRange("Starting Date", FromDate + 1, ToDate); AccPeriod.SetRange("New Fiscal Year", true); - if AccPeriod.FindFirst() then begin + if AccPeriod.FindFirst() then Error(Text000); - end; end; 5: begin @@ -584,4 +583,3 @@ report 14030 "Official journal ledger Summ." end; end; } - diff --git a/src/Layers/NO/DemoTool/CreateVATStatementLine.Codeunit.al b/src/Layers/NO/DemoTool/CreateVATStatementLine.Codeunit.al index 41ce3e7661c..fbcf0b250c7 100644 --- a/src/Layers/NO/DemoTool/CreateVATStatementLine.Codeunit.al +++ b/src/Layers/NO/DemoTool/CreateVATStatementLine.Codeunit.al @@ -8,41 +8,7 @@ codeunit 101256 "Create VAT Statement Line" end; var - "Demonstration Data Setup": Record "Demo Data Setup"; - CA: Codeunit "Make Adjustments"; NextLineNo: Integer; - XSalesVAT25PERCENToutgoing: Label 'Sales VAT 25 % (outgoing)'; - XNATIONAL: Label 'NATIONAL'; - XVAT25: Label 'VAT25'; - XSalesVAT10PERCENToutgoing: Label 'Sales VAT 10 % (outgoing)'; - XVAT10: Label 'VAT10'; - XVAT25PERCENTonEUPurchasesetc: Label 'VAT 25 % on EU Purchases etc.'; - XVAT10PERCENTonEUPurchasesetc: Label 'VAT 10 % on EU Purchases etc.'; - XEU: Label 'EU'; - XTotal: Label 'Total'; - XPurchaseVAT25PERCENTDomestic: Label 'Purchase VAT 25 % Domestic'; - XPurchaseVAT10PERCENTDomestic: Label 'Purchase VAT 10 % Domestic'; - XPurchaseVAT25PERCENTEU: Label 'Purchase VAT 25 % EU'; - XPurchaseVAT10PERCENTEU: Label 'Purchase VAT 10 % EU'; - XPurchaseVATingoing: Label 'Purchase VAT (ingoing)'; - XFuelTax: Label 'Fuel Tax'; - XElectricityTax: Label 'Electricity Tax'; - XNaturalGasTax: Label 'Natural Gas Tax'; - XCoalTax: Label 'Coal Tax'; - XCO2Tax: Label 'CO2 Tax'; - XWaterTax: Label 'Water Tax'; - XTotalTaxes: Label 'Total Taxes'; - XTotalDeductions: Label 'Total Deductions'; - XVATPayable: Label 'VAT Payable'; - XValueofEUPurchases25PERCENT: Label 'Value of EU Purchases 25 %'; - XValueofEUPurchases10PERCENT: Label 'Value of EU Purchases 10 %'; - XValueofEUSales: Label 'Value of EU Sales'; - XValueofEUSales25PERCENT: Label 'Value of EU Sales25 %'; - XValueofEUSales10PERCENT: Label 'Value of EU Sales 10 %'; - XNonVATliablesalesOverseas: Label 'Non-VAT liable sales, Overseas'; - XNonVATliablesalesDomestic: Label 'Non-VAT liable sales, Domestic'; - XNOVAT: Label 'NO VAT'; - XEXPORT: Label 'EXPORT'; XVAT: Label 'VAT'; XDEFAULT: Label 'DEFAULT'; diff --git a/src/Layers/RU/BaseApp/Local/CreateVATPurchLedAdSh.Report.al b/src/Layers/RU/BaseApp/Local/CreateVATPurchLedAdSh.Report.al index 9db6304841b..31c10dae849 100644 --- a/src/Layers/RU/BaseApp/Local/CreateVATPurchLedAdSh.Report.al +++ b/src/Layers/RU/BaseApp/Local/CreateVATPurchLedAdSh.Report.al @@ -222,15 +222,6 @@ report 14962 "Create VAT Purch. Led. Ad. Sh." DataItemTableView = sorting("Posting Date", Type, "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Tax Invoice Amount Type", Prepayment, Positive) where(Type = const(Purchase), "Tax Invoice Amount Type" = const(VAT), "Additional VAT Ledger Sheet" = const(false), "Include In Other VAT Ledger" = const(false), "VAT Allocation Type" = const(VAT)); trigger OnAfterGetRecord() - var - VATEntry1: Record "VAT Entry"; - Vend: Record Vendor; - VendLedgEntry: Record "Vendor Ledger Entry"; - DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; - FA: Record "Fixed Asset"; - VATEntry: Record "VAT Entry"; - TransactionNo: Integer; - VATEntryNo: Integer; begin exit; end; @@ -1140,4 +1131,3 @@ report 14962 "Create VAT Purch. Led. Ad. Sh." VATLedgerConnBuffer.Insert(); end; } - diff --git a/src/Layers/RU/DemoTool/AdjustInventoryValue.Codeunit.al b/src/Layers/RU/DemoTool/AdjustInventoryValue.Codeunit.al index 7251bcda2a4..3a9e70564f0 100644 --- a/src/Layers/RU/DemoTool/AdjustInventoryValue.Codeunit.al +++ b/src/Layers/RU/DemoTool/AdjustInventoryValue.Codeunit.al @@ -11,7 +11,6 @@ codeunit 101909 "Adjust Inventory Value" "Create Gen. Journal Line": Codeunit "Create Gen. Journal Line"; CA: Codeunit "Make Adjustments"; XSTART: Label 'START'; - XAdjustingInventoryvalue: Label 'Adjusting Inventory value'; XDEFAULT: Label 'DEFAULT'; procedure InsertOtherEntry("Account Type": Option; "Account No.": Code[20]; Date: Date; "Document No.": Code[20]; Description: Text[50]; Amount: Decimal; "Bal. Account Type": Option; "Bal. Account No.": Code[20]; "Shortcut Dimension 1 Code": Code[20]) diff --git a/src/Layers/RU/DemoTool/CreateAccScheduleLine.Codeunit.al b/src/Layers/RU/DemoTool/CreateAccScheduleLine.Codeunit.al index 1aa6366d77e..dfeab13634c 100644 --- a/src/Layers/RU/DemoTool/CreateAccScheduleLine.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateAccScheduleLine.Codeunit.al @@ -28,17 +28,9 @@ codeunit 101085 "Create Acc. Schedule Line" XOtherLiabilities: Label 'Other Liabilities'; XShorttermLiabilitiesTotal: Label 'Short-term Liabilities, Total'; XCurAminusShorttermLiabilities: Label 'Current Assets minus Short-term Liabilities'; - XCAMPAIGNANALYSIS: Label 'CAMPAIGN ANALYSIS'; XSalesRetailDom: Label 'Sales, Retail - Dom.'; - XPurchRetailDom: Label 'Purch, Retail - Dom.'; - XTradingMarginDomestic: Label 'Trading Margin, Domestic'; XSalesRetailEU: Label 'Sales, Retail - EU'; - XPurchRetailEU: Label 'Purch, Retail - EU'; - XTradingMarginEU: Label 'Trading Margin, EU'; XSalesRetailExport: Label 'Sales, Retail - Export'; - XPurchRetailExport: Label 'Purch, Retail - Export'; - XTradingMarginExport: Label 'Trading Margin, Export'; - XCampaignResult: Label 'Campaign Result'; XCASHFLOW: Label 'CASHFLOW', Comment = 'Cashflow is a name of Account Schedule.'; XSurplus: Label 'Surplus'; XOpenSalesOrders: Label 'Open Sales Orders'; @@ -64,13 +56,6 @@ codeunit 101085 "Create Acc. Schedule Line" XTotalofCashReceipts: Label 'Total of Cash Receipts'; XOpenPurchaseOrders: Label 'Open Purchase Orders'; XMiscellaneousCosts: Label 'Miscellaneous costs'; - XCalculationBase: Label 'Calculation Base'; - XDEGREE: Label 'DEGREE', Comment = 'Degree is a name of Account Schedule.'; - XMonetarycurrentAssets: Label 'Monetary current assets'; - XShortTermObligations: Label 'Short-term obligations'; - XCashFlow1Degree: Label 'CashFlow 1. Degree'; - XCashFlow2Degree: Label 'CashFlow 2. Degree'; - XCashFlow3Degree: Label 'CashFlow 3. Degree'; XREVENUE: Label 'REVENUE'; XSalesofRetail: Label 'Sales of Retail'; XJobSalesAdjmtRetail: Label 'Job Sales Adjmt, Retail'; @@ -79,26 +64,7 @@ codeunit 101085 "Create Acc. Schedule Line" XRevenueArea40to85Total: Label 'Revenue Area 40..85, Total'; XRevenuenoAreacodeTotal: Label 'Revenue, no Area code, Total'; XRevenueTotal: Label 'Revenue, Total'; - XCAMPAIGN: Label 'CAMPAIGN'; XVAT: Label 'VAT'; - XSUMMER: Label 'SUMMER'; - XCASTAFF: Label 'CA-STAFF', Comment = 'Cost Acct. Personnel Costs.'; - XCATRANSFER: Label 'CA-TRANS', Comment = 'Cost Acct. Transfer.'; - XCAPROF: Label 'CA-PROF', Comment = 'Cost Acct. Summary Record DB per CC/CO.'; - XPersonalCosts: Label 'Personnel Costs'; - XMonthlySalaries: Label 'Monthly Salaries'; - XSocialSecurity: Label 'Social Security'; - XTransferOverheadCosts: Label 'Transfer Overhead Costs'; - XInitialCostCenters: Label 'Initial Cost Centers'; - XTotalTransfers: Label 'Total Transfers'; - XCCCOSummaryReport: Label 'CC / CO Summary Report'; - XRevenues: Label 'Revenues'; - XRevenueReductions: Label 'Revenue Reductions'; - XNetRevenue: Label 'Net Revenue'; - XMaterialCosts: Label 'Material Costs'; - XGrossProfit: Label 'Gross Profit'; - XSalaryDirectCosts: Label 'Salary Direct Costs'; - XMainCostCenters: Label 'Main Cost Centers'; XACCCAT: Label 'ACC-CAT', Comment = 'ACC-CAT is the name of the Account Schedule.'; XBALSHEET: Label 'BALANCE SHEET'; XIncomeThisYear: Label 'Income This Year'; diff --git a/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al b/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al index 0b75d5187cd..4dbac611b18 100644 --- a/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al @@ -35,21 +35,11 @@ codeunit 101084 "Create Acc. Schedule Name" XANALYSIS: Label 'ANALYSIS'; XBALONLY: Label 'BAL ONLY'; XCapitalStructure: Label 'Capital Structure'; - XCAMPAIGN: Label 'CAMPAIGN'; - XCampaignAnalysis: Label 'Campaign Analysis'; XBUDGANALYS: Label 'BUDGANALYS'; XREVENUE: Label 'REVENUE'; XRevenues: Label 'Revenues'; XCASHFLOW: Label 'CASHFLOW', Comment = 'Cashflow is a name of Account Schedule.'; - XDEGREE: Label 'DEGREE', Comment = 'Degree is a name of Account Schedule.'; XCalculationOfCashFlow: Label 'Calculation Of Cash Flow'; - XCalculationOfCashFlowRatio: Label 'Calculation of Cash Flow Ratio'; - XCASTAFF: Label 'CA-STAFF', Comment = 'Cost Acct. Personnel Costs.'; - XCostAcctPersonnelCosts: Label 'Cost Acct. Personnel Costs'; - XCATRANSFER: Label 'CA-TRANS', Comment = 'Cost Acct. Transfer.'; - XCostAcctTransfer: Label 'Cost Acct. Transfer'; - XCAPROF: Label 'CA-PROF', Comment = 'Cost Acct. Summary Record DB per CC/CO.'; - XCostAcctSummaryRecordDB: Label 'Cost Acct. Summary Record DB per CC/CO', Comment = 'It is description of Account Schedule Name. DB means Database, CC means Cost Center and CO means Cost Object.'; XACCCAT: Label 'ACC-CAT', Comment = 'ACC-CAT is the name of the Account Schedule.'; XAccCatOverview: Label 'Account Categories overview'; XPERIODS: Label 'PERIODS'; diff --git a/src/Layers/RU/DemoTool/CreateFAAllocation.Codeunit.al b/src/Layers/RU/DemoTool/CreateFAAllocation.Codeunit.al index 91eb7ee1a25..15d0c593a09 100644 --- a/src/Layers/RU/DemoTool/CreateFAAllocation.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateFAAllocation.Codeunit.al @@ -10,10 +10,6 @@ codeunit 101810 "Create FA Allocation" var CA: Codeunit "Make Adjustments"; "Line No.": Integer; - XTELEPHONE: Label 'TELEPHONE'; - XADM: Label 'ADM'; - XPROD: Label 'PROD'; - XSALES: Label 'SALES'; procedure InsertData("Code": Code[10]; "Allocation Type": Enum "FA Allocation Type"; "Account No.": Code[20]; "Global Dimension 1 Code": Code[20]; "Allocation %": Decimal) var diff --git a/src/Layers/RU/DemoTool/CreateStdGenJournalLine.Codeunit.al b/src/Layers/RU/DemoTool/CreateStdGenJournalLine.Codeunit.al index 9f89f36f349..71c2522e572 100644 --- a/src/Layers/RU/DemoTool/CreateStdGenJournalLine.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateStdGenJournalLine.Codeunit.al @@ -11,11 +11,6 @@ codeunit 101761 "Create Std. Gen. Journal Line" StdGenJnlLine: Record "Standard General Journal Line"; CA: Codeunit "Make Adjustments"; LineNo: Integer; - XGENERAL: Label 'GENERAL'; - XPAYROLL: Label 'PAYROLL'; - XPayrollJournal: Label 'Payroll Journal'; - XADM: Label 'ADM'; - XWWBOPERATING: Label 'WWB-OPERATING'; procedure InsertData(JournalTemplateName: Code[10]; StdGenJnlCode: Code[10]; AccountType: Integer; No: Code[20]; Amount: Decimal; Description: Text[50]; Department: Code[20]) var diff --git a/src/Layers/RU/DemoTool/CreateStdPurchaseLine.Codeunit.al b/src/Layers/RU/DemoTool/CreateStdPurchaseLine.Codeunit.al index 218edc7bce7..fd0190061d7 100644 --- a/src/Layers/RU/DemoTool/CreateStdPurchaseLine.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateStdPurchaseLine.Codeunit.al @@ -10,15 +10,6 @@ codeunit 101047 "Create Std. Purchase Line" var StdPurchLine: Record "Standard Purchase Line"; LineNo: Integer; - XCLEANING: Label 'CLEANING'; - XADM: Label 'ADM'; - Xforadministration: Label 'for administration'; - Xforproduction: Label 'for production'; - XPROD: Label 'PROD'; - XPAINT: Label 'PAINT'; - XPAPER: Label 'PAPER'; - XPOSTAGE: Label 'POSTAGE'; - XJBFREIGHT: Label 'JB-FREIGHT'; CA: Codeunit "Make Adjustments"; procedure InsertData(StdPurchCode: Code[10]; Type: Integer; No: Code[20]; Amount: Decimal; Description2: Text[30]; Department: Code[20]) diff --git a/src/Layers/RU/DemoTool/InterfaceTaxAccounting.Codeunit.al b/src/Layers/RU/DemoTool/InterfaceTaxAccounting.Codeunit.al index c8d25243049..3613e789c89 100644 --- a/src/Layers/RU/DemoTool/InterfaceTaxAccounting.Codeunit.al +++ b/src/Layers/RU/DemoTool/InterfaceTaxAccounting.Codeunit.al @@ -10,7 +10,6 @@ codeunit 163408 "Interface Tax Accounting" DemoDataSetup: Record "Demo Data Setup"; MakeAdjustments: Codeunit "Make Adjustments"; CreateTaxDiffSetup: Codeunit "Create Tax Diff. Setup"; - CreateTaxRegisters: Report "Create Tax Registers"; Window: Dialog; Steps: Integer; MaxSteps: Integer; @@ -79,7 +78,6 @@ codeunit 163408 "Interface Tax Accounting" procedure BuildTaxRegisters(StartDate: Date) var - TaxRegSection: Record "Tax Register Section"; begin exit; diff --git a/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al b/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al index 7c62009bac9..cea32dac7c6 100644 --- a/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al +++ b/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al @@ -9,6 +9,5 @@ codeunit 101904 "Modify Currency" var Currency: Record Currency; - CA: Codeunit "Make Adjustments"; } diff --git a/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al b/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al index 9a8ece691f4..e89949aa61a 100644 --- a/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al +++ b/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al @@ -19,7 +19,6 @@ codeunit 134897 "ERM Source Currency" UnexpectedAccountNoErr: Label 'Unexpected G/L Account No. %1', Locked = true; TotalSCYAmountNotZeroErr: Label 'The sum of Source Currency Amount should be 0', Locked = true; SourceCurrencyCodeErr: Label 'The Source Currency Code should be equal to the Currency Code on the General Journal Line', Locked = true; - SourceCurrencyCodeFXGainLossErr: Label 'The Source Currency Code should be empty on the G/L Entry for FX Gain/Loss', Locked = true; SourceCurrencyAmountShouldBeZeroErr: Label 'The Source Currency Amount should be 0', Locked = true; SourceCurrencyAmountShouldMatchEnteredAmountErr: Label 'Source Currency Amount should match manually entered amount', Locked = true; SourceCurrencyVATAmountNotZeroErr: Label 'Source Currency VAT Amount should not be zero', Locked = true; @@ -904,8 +903,6 @@ codeunit 134897 "ERM Source Currency" Factor: Integer; SCYBalance: Decimal; AmountLCY: Decimal; - AmountLCYUnrealisedLoss: Decimal; - AmountLCYRealisedLoss: Decimal; begin exit; end; @@ -929,8 +926,6 @@ codeunit 134897 "ERM Source Currency" Factor: Integer; SCYBalance: Decimal; AmountLCY: Decimal; - AmountLCYUnrealisedGain: Decimal; - AmountLCYRealisedGain: Decimal; begin exit; end; diff --git a/src/Layers/W1/BaseApp/Permissions/d365automation.permissionset.al b/src/Layers/W1/BaseApp/Permissions/d365automation.permissionset.al index 4c9ce73b87c..792aa670e79 100644 --- a/src/Layers/W1/BaseApp/Permissions/d365automation.permissionset.al +++ b/src/Layers/W1/BaseApp/Permissions/d365automation.permissionset.al @@ -769,9 +769,7 @@ permissionset 5117 "D365 AUTOMATION" tabledata "Exchange Service Setup" = RIMD, tabledata "Contact Sync User" = RIMD, tabledata "Outlook Contacts" = RIMD, -#if not CLEAN28 tabledata "Exchange Sync" = RIMD, -#endif tabledata "Exp. Invt. Order Tracking" = RIMD, tabledata "Experience Tier Buffer" = RIMD, tabledata "Experience Tier Setup" = RIMD, diff --git a/src/Layers/W1/BaseApp/Permissions/d365basicedit.permissionset.al b/src/Layers/W1/BaseApp/Permissions/d365basicedit.permissionset.al index 31398c434c0..bc8a7c58448 100644 --- a/src/Layers/W1/BaseApp/Permissions/d365basicedit.permissionset.al +++ b/src/Layers/W1/BaseApp/Permissions/d365basicedit.permissionset.al @@ -353,9 +353,7 @@ permissionset 208 "D365 Basic - Edit" tabledata "Exchange Contact" = IMD, #endif tabledata "Exchange Object" = IMD, -#if not CLEAN28 tabledata "Exchange Sync" = IMD, -#endif tabledata "Experience Tier Buffer" = IMD, tabledata "Experience Tier Setup" = IMD, tabledata "Extended Text Header" = IMD, diff --git a/src/Layers/W1/BaseApp/Permissions/d365basicisv.permissionset.al b/src/Layers/W1/BaseApp/Permissions/d365basicisv.permissionset.al index 53dfeae3f73..a9e6bf05db9 100644 --- a/src/Layers/W1/BaseApp/Permissions/d365basicisv.permissionset.al +++ b/src/Layers/W1/BaseApp/Permissions/d365basicisv.permissionset.al @@ -512,9 +512,7 @@ permissionset 732 "D365 BASIC ISV" tabledata "Exchange Folder" = RIMD, tabledata "Exchange Object" = RIMD, tabledata "Exchange Service Setup" = RIMD, -#if not CLEAN28 tabledata "Exchange Sync" = RIMD, -#endif tabledata "Experience Tier Buffer" = RIMD, tabledata "Experience Tier Setup" = RIMD, tabledata "Extended Text Header" = RIMD, diff --git a/src/Layers/W1/BaseApp/Permissions/d365basicread.permissionset.al b/src/Layers/W1/BaseApp/Permissions/d365basicread.permissionset.al index d955525ee6d..e05f57c31b4 100644 --- a/src/Layers/W1/BaseApp/Permissions/d365basicread.permissionset.al +++ b/src/Layers/W1/BaseApp/Permissions/d365basicread.permissionset.al @@ -458,9 +458,7 @@ permissionset 209 "D365 Basic - Read" #endif tabledata "Exchange Object" = R, tabledata "Exchange Service Setup" = R, -#if not CLEAN28 tabledata "Exchange Sync" = R, -#endif tabledata "Experience Tier Buffer" = R, tabledata "Experience Tier Setup" = R, tabledata "Extended Text Header" = R, diff --git a/src/Layers/W1/BaseApp/Permissions/d365busfullaccess.permissionset.al b/src/Layers/W1/BaseApp/Permissions/d365busfullaccess.permissionset.al index c89326f032d..c7906c998b9 100644 --- a/src/Layers/W1/BaseApp/Permissions/d365busfullaccess.permissionset.al +++ b/src/Layers/W1/BaseApp/Permissions/d365busfullaccess.permissionset.al @@ -427,9 +427,7 @@ permissionset 959 "D365 BUS FULL ACCESS" tabledata "Exchange Contact" = RIMD, #endif tabledata "Exchange Object" = RIMD, -#if not CLEAN28 tabledata "Exchange Sync" = RIMD, -#endif tabledata "Experience Tier Buffer" = RIMD, tabledata "Experience Tier Setup" = RIMD, tabledata "Extended Text Header" = RIMD, diff --git a/src/Layers/W1/BaseApp/Permissions/d365read.permissionset.al b/src/Layers/W1/BaseApp/Permissions/d365read.permissionset.al index a1a933d659a..b2eaf52721b 100644 --- a/src/Layers/W1/BaseApp/Permissions/d365read.permissionset.al +++ b/src/Layers/W1/BaseApp/Permissions/d365read.permissionset.al @@ -719,9 +719,7 @@ permissionset 1044 "D365 READ" tabledata "Exchange Folder" = R, tabledata "Exchange Object" = R, tabledata "Exchange Service Setup" = R, -#if not CLEAN28 tabledata "Exchange Sync" = R, -#endif tabledata "Exp. Invt. Order Tracking" = R, tabledata "Experience Tier Buffer" = R, tabledata "Experience Tier Setup" = R, diff --git a/src/Layers/W1/BaseApp/Permissions/d365teammember.permissionset.al b/src/Layers/W1/BaseApp/Permissions/d365teammember.permissionset.al index 53f3403e1f6..4a8317344ee 100644 --- a/src/Layers/W1/BaseApp/Permissions/d365teammember.permissionset.al +++ b/src/Layers/W1/BaseApp/Permissions/d365teammember.permissionset.al @@ -755,9 +755,7 @@ permissionset 7931 "D365 TEAM MEMBER" tabledata "Exchange Folder" = RM, tabledata "Exchange Object" = RM, tabledata "Exchange Service Setup" = RM, -#if not CLEAN28 tabledata "Exchange Sync" = RM, -#endif tabledata "Exp. Invt. Order Tracking" = RM, tabledata "Experience Tier Buffer" = RM, tabledata "Experience Tier Setup" = RM, diff --git a/src/Layers/W1/BaseApp/Permissions/intelligentcloud.permissionset.al b/src/Layers/W1/BaseApp/Permissions/intelligentcloud.permissionset.al index 71d6e792745..f8bebc3ad5f 100644 --- a/src/Layers/W1/BaseApp/Permissions/intelligentcloud.permissionset.al +++ b/src/Layers/W1/BaseApp/Permissions/intelligentcloud.permissionset.al @@ -750,9 +750,7 @@ permissionset 6121 "INTELLIGENT CLOUD" tabledata "Exchange Folder" = R, tabledata "Exchange Object" = R, tabledata "Exchange Service Setup" = R, -#if not CLEAN28 tabledata "Exchange Sync" = R, -#endif tabledata "Exp. Invt. Order Tracking" = R, tabledata "Experience Tier Buffer" = R, tabledata "Experience Tier Setup" = R, From 49830b2bdd1f761a5ac1ca06067464b6e725ba91 Mon Sep 17 00:00:00 2001 From: Jesper Schulz-Wedde Date: Wed, 9 Sep 2026 13:48:04 +0200 Subject: [PATCH 5/7] Propagate Exchange Sync permission fix Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../GB/BaseApp/Permissions/d365busfullaccess.permissionset.al | 2 -- .../RU/BaseApp/Permissions/d365busfullaccess.permissionset.al | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/Layers/GB/BaseApp/Permissions/d365busfullaccess.permissionset.al b/src/Layers/GB/BaseApp/Permissions/d365busfullaccess.permissionset.al index cdc9452a2c5..ec767346628 100644 --- a/src/Layers/GB/BaseApp/Permissions/d365busfullaccess.permissionset.al +++ b/src/Layers/GB/BaseApp/Permissions/d365busfullaccess.permissionset.al @@ -427,9 +427,7 @@ permissionset 959 "D365 BUS FULL ACCESS" tabledata "Exchange Contact" = RIMD, #endif tabledata "Exchange Object" = RIMD, -#if not CLEAN28 tabledata "Exchange Sync" = RIMD, -#endif tabledata "Experience Tier Buffer" = RIMD, tabledata "Experience Tier Setup" = RIMD, tabledata "Extended Text Header" = RIMD, diff --git a/src/Layers/RU/BaseApp/Permissions/d365busfullaccess.permissionset.al b/src/Layers/RU/BaseApp/Permissions/d365busfullaccess.permissionset.al index ea92c5baced..8fce92c3249 100644 --- a/src/Layers/RU/BaseApp/Permissions/d365busfullaccess.permissionset.al +++ b/src/Layers/RU/BaseApp/Permissions/d365busfullaccess.permissionset.al @@ -432,9 +432,7 @@ permissionset 959 "D365 BUS FULL ACCESS" tabledata "Exchange Contact" = RIMD, #endif tabledata "Exchange Object" = RIMD, -#if not CLEAN28 tabledata "Exchange Sync" = RIMD, -#endif tabledata "Experience Tier Buffer" = RIMD, tabledata "Experience Tier Setup" = RIMD, tabledata "Extended Text Header" = RIMD, From 8447e9e622267ce41bed2cb284ec582dc57553da Mon Sep 17 00:00:00 2001 From: Jesper Schulz-Wedde Date: Wed, 9 Sep 2026 17:02:37 +0200 Subject: [PATCH 6/7] Fix second-wave analyzer failures Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../SLD365BASICISVMSL.PermissionSetExt.al | 4 ++-- .../Permissions/SLD365BASICMSL.PermissionSetExt.al | 4 ++-- .../SLD365TEAMMEMBERMSL.PermissionSetExt.al | 4 ++-- .../SLINTELLIGENTCLOUDMSL.PermissionSetExt.al | 4 ++-- .../Permissions/SLMigrationEdit.PermissionSet.al | 4 ++-- .../Permissions/SLMigrationObjects.PermissionSet.al | 6 +++--- .../Permissions/SLMigrationRead.PermissionSet.al | 4 ++-- .../DemoTool/CreateServiceBaseCalendar.Codeunit.al | 12 ------------ .../ERM-Finance/ERMAccountScheduleII.Codeunit.al | 7 ------- .../CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al | 13 ------------- .../CZ/Tests/Misc/CountryRegionUT.Codeunit.al | 5 ----- .../Address/PostcodeNotificationMemory.Table.al | 7 ++++++- .../FinanceCharge/FinChargeInterestRate.Table.al | 7 ++++++- .../GB/BaseApp/Permissions/local.permissionset.al | 7 +++++-- .../BaseApp/Permissions/localread.permissionset.al | 7 +++++-- .../RU/DemoTool/CreateAccScheduleName.Codeunit.al | 11 ----------- src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al | 4 ---- 17 files changed, 37 insertions(+), 73 deletions(-) diff --git a/src/Apps/W1/HybridSL/app/src/Permissions/SLD365BASICISVMSL.PermissionSetExt.al b/src/Apps/W1/HybridSL/app/src/Permissions/SLD365BASICISVMSL.PermissionSetExt.al index 93a504ef753..fb5a3075f1f 100644 --- a/src/Apps/W1/HybridSL/app/src/Permissions/SLD365BASICISVMSL.PermissionSetExt.al +++ b/src/Apps/W1/HybridSL/app/src/Permissions/SLD365BASICISVMSL.PermissionSetExt.al @@ -108,13 +108,13 @@ permissionsetextension 47002 "SLD365 BASIC ISV - MSL" extends "D365 BASIC ISV" tabledata "SL PJEquip" = RIMD, tabledata "SL PJPent" = RIMD, tabledata "SL PJProj" = RIMD, - tabledata "SL PurchOrd" = RIMD, - tabledata "SL PurOrdDet" = RIMD, tabledata "SL SOHeader" = RIMD, tabledata "SL SOLine" = RIMD, tabledata "SL SOType" = RIMD, #pragma warning restore AL0432 #endif + tabledata "SL PurchOrd" = RIMD, + tabledata "SL PurOrdDet" = RIMD, tabledata SLGLAcctBalByPeriod = RIMD, tabledata "SL Period List Work Table" = RIMD; } diff --git a/src/Apps/W1/HybridSL/app/src/Permissions/SLD365BASICMSL.PermissionSetExt.al b/src/Apps/W1/HybridSL/app/src/Permissions/SLD365BASICMSL.PermissionSetExt.al index dc01b8ed35d..788d9db8179 100644 --- a/src/Apps/W1/HybridSL/app/src/Permissions/SLD365BASICMSL.PermissionSetExt.al +++ b/src/Apps/W1/HybridSL/app/src/Permissions/SLD365BASICMSL.PermissionSetExt.al @@ -108,13 +108,13 @@ permissionsetextension 47001 "SLD365 BASIC - MSL" extends "D365 BASIC" tabledata "SL PJEquip" = RIMD, tabledata "SL PJPent" = RIMD, tabledata "SL PJProj" = RIMD, - tabledata "SL PurchOrd" = RIMD, - tabledata "SL PurOrdDet" = RIMD, tabledata "SL SOHeader" = RIMD, tabledata "SL SOLine" = RIMD, tabledata "SL SOType" = RIMD, #pragma warning restore AL0432 #endif + tabledata "SL PurchOrd" = RIMD, + tabledata "SL PurOrdDet" = RIMD, tabledata SLGLAcctBalByPeriod = RIMD, tabledata "SL Period List Work Table" = RIMD; } diff --git a/src/Apps/W1/HybridSL/app/src/Permissions/SLD365TEAMMEMBERMSL.PermissionSetExt.al b/src/Apps/W1/HybridSL/app/src/Permissions/SLD365TEAMMEMBERMSL.PermissionSetExt.al index 7153d99ebc0..279885fb11c 100644 --- a/src/Apps/W1/HybridSL/app/src/Permissions/SLD365TEAMMEMBERMSL.PermissionSetExt.al +++ b/src/Apps/W1/HybridSL/app/src/Permissions/SLD365TEAMMEMBERMSL.PermissionSetExt.al @@ -108,13 +108,13 @@ permissionsetextension 47003 "SLD365 TEAM MEMBER - MSL" extends "D365 TEAM MEMBE tabledata "SL PJEmploy" = RIMD, tabledata "SL PJPent" = RIMD, tabledata "SL PJProj" = RIMD, - tabledata "SL PurchOrd" = RIMD, - tabledata "SL PurOrdDet" = RIMD, tabledata "SL SOHeader" = RIMD, tabledata "SL SOLine" = RIMD, tabledata "SL SOType" = RIMD, #pragma warning restore AL0432 #endif + tabledata "SL PurchOrd" = RIMD, + tabledata "SL PurOrdDet" = RIMD, tabledata SLGLAcctBalByPeriod = RIMD, tabledata "SL Period List Work Table" = RIMD; } diff --git a/src/Apps/W1/HybridSL/app/src/Permissions/SLINTELLIGENTCLOUDMSL.PermissionSetExt.al b/src/Apps/W1/HybridSL/app/src/Permissions/SLINTELLIGENTCLOUDMSL.PermissionSetExt.al index bb789aa75c9..42c8b57bc55 100644 --- a/src/Apps/W1/HybridSL/app/src/Permissions/SLINTELLIGENTCLOUDMSL.PermissionSetExt.al +++ b/src/Apps/W1/HybridSL/app/src/Permissions/SLINTELLIGENTCLOUDMSL.PermissionSetExt.al @@ -108,13 +108,13 @@ permissionsetextension 47000 "SLINTELLIGENT CLOUD - MSL" extends "INTELLIGENT CL tabledata "SL PJEquip" = RIMD, tabledata "SL PJPent" = RIMD, tabledata "SL PJProj" = RIMD, - tabledata "SL PurchOrd" = RIMD, - tabledata "SL PurOrdDet" = RIMD, tabledata "SL SOHeader" = RIMD, tabledata "SL SOLine" = RIMD, tabledata "SL SOType" = RIMD, #pragma warning restore AL0432 #endif + tabledata "SL PurchOrd" = RIMD, + tabledata "SL PurOrdDet" = RIMD, tabledata SLGLAcctBalByPeriod = RIMD, tabledata "SL Period List Work Table" = RIMD; } diff --git a/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationEdit.PermissionSet.al b/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationEdit.PermissionSet.al index 26c0c42ef35..7112485e782 100644 --- a/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationEdit.PermissionSet.al +++ b/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationEdit.PermissionSet.al @@ -110,12 +110,12 @@ permissionset 47004 "SL Migration - Edit" tabledata "SL PJEquip" = IMD, tabledata "SL PJPent" = IMD, tabledata "SL PJProj" = IMD, - tabledata "SL PurchOrd" = IMD, - tabledata "SL PurOrdDet" = IMD, tabledata "SL SOHeader" = IMD, tabledata "SL SOLine" = IMD, tabledata "SL SOType" = IMD, #pragma warning restore AL0432 #endif + tabledata "SL PurchOrd" = IMD, + tabledata "SL PurOrdDet" = IMD, tabledata SLGLAcctBalByPeriod = IMD; } diff --git a/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationObjects.PermissionSet.al b/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationObjects.PermissionSet.al index 15de832dada..9c7d395ac31 100644 --- a/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationObjects.PermissionSet.al +++ b/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationObjects.PermissionSet.al @@ -112,13 +112,13 @@ permissionset 47005 "SL Migration-Objects" table "SL PJEquip" = X, table "SL PJPent" = X, table "SL PJProj" = X, - table "SL PurchOrd" = X, - table "SL PurOrdDet" = X, table "SL SOHeader" = X, table "SL SOLine" = X, table "SL SOType" = X, #pragma warning restore AL0432 -#endif +#endif + table "SL PurchOrd" = X, + table "SL PurOrdDet" = X, codeunit "SL Account Migrator" = X, codeunit "SL Cloud Migration" = X, codeunit "SL Customer Migrator" = X, diff --git a/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationRead.PermissionSet.al b/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationRead.PermissionSet.al index 5f8da1c59a6..15eaa8b11ed 100644 --- a/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationRead.PermissionSet.al +++ b/src/Apps/W1/HybridSL/app/src/Permissions/SLMigrationRead.PermissionSet.al @@ -111,12 +111,12 @@ permissionset 47006 "SL Migration - Read" tabledata "SL PJEquip" = R, tabledata "SL PJPent" = R, tabledata "SL PJProj" = R, - tabledata "SL PurchOrd" = R, - tabledata "SL PurOrdDet" = R, tabledata "SL SOHeader" = R, tabledata "SL SOLine" = R, tabledata "SL SOType" = R, #pragma warning restore AL0432 #endif + tabledata "SL PurchOrd" = R, + tabledata "SL PurOrdDet" = R, tabledata SLGLAcctBalByPeriod = R; } diff --git a/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al b/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al index 9fdbc652edf..86f33f34f35 100644 --- a/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al +++ b/src/Layers/CH/DemoTool/CreateServiceBaseCalendar.Codeunit.al @@ -63,7 +63,6 @@ codeunit 117507 "Create Service Base Calendar" BaseCalChange: Record "Base Calendar Change"; BaseCalendar: Record "Base Calendar"; Date: Record Date; - StartDate: Date; XSERVICE: Label 'SERVICE'; XServiceCalendar: Label 'Service Calendar'; XWeekend: Label 'Weekend'; @@ -106,16 +105,6 @@ codeunit 117507 "Create Service Base Calendar" //---------------------------------------------------------------- end; - procedure GetPeriodNoOneDate(SkipDirection: Text[1]): Date - begin - Date.Get(Date."Period Type"::Date, StartDate); - if Date."Period No." <> 1 then - repeat - Date.Find(SkipDirection); - until Date."Period No." = 1; - exit(Date."Period Start"); - end; - procedure CheckHolidayDate(OriginalDate: Date; OriginalDescription: Text[30]) begin Date.Get(Date."Period Type"::Date, OriginalDate); @@ -139,4 +128,3 @@ codeunit 117507 "Create Service Base Calendar" exit(DMY2Date(MonthDay, Month, (Date2DMY(HolidayDate, 3) + DemoDataSetup."Starting Year" - 2))); end; } - diff --git a/src/Layers/CZ/Tests/ERM-Finance/ERMAccountScheduleII.Codeunit.al b/src/Layers/CZ/Tests/ERM-Finance/ERMAccountScheduleII.Codeunit.al index 2fb6b363ddc..1ef3d6a02f3 100644 --- a/src/Layers/CZ/Tests/ERM-Finance/ERMAccountScheduleII.Codeunit.al +++ b/src/Layers/CZ/Tests/ERM-Finance/ERMAccountScheduleII.Codeunit.al @@ -1426,13 +1426,6 @@ [Test] [Scope('OnPrem')] procedure AccountScheduleVarianceDrillDownPrintsColumnLayoutFormula() - var - AccScheduleName: Record "Acc. Schedule Name"; - AccScheduleLine: Record "Acc. Schedule Line"; - ColumnLayoutName: Record "Column Layout Name"; - ColumnLayout: Record "Column Layout"; - AccSchedManagement: Codeunit AccSchedManagement; - PeriodType: Option Day,Week,Month,Quarter,Year,"Accounting Period"; begin exit; // NAVCZ Czech Localization has Account Schedule Formula Drill-Down Page // [FEATURE] [UI] diff --git a/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al b/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al index 79a5dd149a7..e8fa8e9bb6e 100644 --- a/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al +++ b/src/Layers/CZ/Tests/ERM/SEPACTGenJnlLineErrors.Codeunit.al @@ -69,8 +69,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" [Test] [Scope('OnPrem')] procedure GenJnlLineRecipientBankAccError() - var - GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line end; @@ -78,8 +76,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" [Test] [Scope('OnPrem')] procedure GenJnlLineAccTypeError() - var - GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line end; @@ -87,8 +83,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" [Test] [Scope('OnPrem')] procedure GenJnlLineVendorRefundError() - var - GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line end; @@ -96,8 +90,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" [Test] [Scope('OnPrem')] procedure GenJnlLineCustomerPaymentError() - var - GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line end; @@ -195,8 +187,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" [Test] [Scope('OnPrem')] procedure GenJnlLineAccNoError() - var - GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line end; @@ -298,8 +288,6 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" [Test] [Scope('OnPrem')] procedure GenJnlLineMultipleErrors() - var - GenJnlLine: Record "Gen. Journal Line"; begin exit; // NAVCZ - SEPACZ Allow Empty Type on the Payment Order Line end; @@ -403,4 +391,3 @@ codeunit 134407 "SEPA CT Gen. Jnl Line Errors" Vendor.Modify(true); end; } - diff --git a/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al b/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al index 0a34ef5bd91..39f785bda58 100644 --- a/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al +++ b/src/Layers/CZ/Tests/Misc/CountryRegionUT.Codeunit.al @@ -165,10 +165,6 @@ codeunit 134277 "Country/Region UT" [Test] [Scope('OnPrem')] procedure FormatAddressWithCountryRegionTranslationTest() - var - CountryRegion: Record "Country/Region"; - CountryRegionTranslation: Record "Country/Region Translation"; - AddrArray: array[8] of Text[100]; begin exit; // [FEATURE] [Country/Region Translation] @@ -184,4 +180,3 @@ codeunit 134277 "Country/Region UT" CountryRegion.Modify(true); end; } - diff --git a/src/Layers/GB/BaseApp/Local/Foundation/Address/PostcodeNotificationMemory.Table.al b/src/Layers/GB/BaseApp/Local/Foundation/Address/PostcodeNotificationMemory.Table.al index 108a7fd7d16..7a88100167e 100644 --- a/src/Layers/GB/BaseApp/Local/Foundation/Address/PostcodeNotificationMemory.Table.al +++ b/src/Layers/GB/BaseApp/Local/Foundation/Address/PostcodeNotificationMemory.Table.al @@ -5,7 +5,13 @@ // ------------------------------------------------------------------------------------------------ namespace Microsoft.Foundation.Address; +#if CLEAN28 +#pragma warning disable AS0103, PTE0004 // Accepted: this obsolete compatibility table is retained until schema cleanup and is intentionally excluded from current permission sets. Tracked by AB#640773. +#endif table 10501 "Postcode Notification Memory" +#if CLEAN28 +#pragma warning restore AS0103, PTE0004 +#endif { Caption = 'Postcode Notification Memory'; DataClassification = CustomerContent; @@ -35,4 +41,3 @@ table 10501 "Postcode Notification Memory" } } #endif - diff --git a/src/Layers/GB/BaseApp/Local/Sales/FinanceCharge/FinChargeInterestRate.Table.al b/src/Layers/GB/BaseApp/Local/Sales/FinanceCharge/FinChargeInterestRate.Table.al index 89b499c62a4..85afe5e48c0 100644 --- a/src/Layers/GB/BaseApp/Local/Sales/FinanceCharge/FinChargeInterestRate.Table.al +++ b/src/Layers/GB/BaseApp/Local/Sales/FinanceCharge/FinChargeInterestRate.Table.al @@ -5,7 +5,13 @@ // ------------------------------------------------------------------------------------------------ namespace Microsoft.Sales.FinanceCharge; +#if CLEAN28 +#pragma warning disable AS0103, PTE0004 // Accepted: this obsolete compatibility table is retained until schema cleanup and is intentionally excluded from current permission sets. Tracked by AB#640773. +#endif table 10555 "Fin. Charge Interest Rate" +#if CLEAN28 +#pragma warning restore AS0103, PTE0004 +#endif { Caption = 'Fin. Charge Interest Rate'; DataCaptionFields = "Fin. Charge Terms Code", "Start Date"; @@ -53,4 +59,3 @@ table 10555 "Fin. Charge Interest Rate" } } #endif - diff --git a/src/Layers/GB/BaseApp/Permissions/local.permissionset.al b/src/Layers/GB/BaseApp/Permissions/local.permissionset.al index b06216d9461..7213d71e43d 100644 --- a/src/Layers/GB/BaseApp/Permissions/local.permissionset.al +++ b/src/Layers/GB/BaseApp/Permissions/local.permissionset.al @@ -7,20 +7,23 @@ using Microsoft.Finance.GeneralLedger.Setup; #if not CLEAN27 using Microsoft.Finance.VAT.Reporting; #endif +#if not CLEAN28 using Microsoft.Foundation.Address; using Microsoft.Sales.FinanceCharge; +#endif permissionset 1001 "LOCAL" { Access = Public; #if CLEAN28 Assignable = false; - Permissions = tabledata "Fin. Charge Interest Rate" = RIMD, - tabledata "Postcode Notification Memory" = RIMD; #else Assignable = true; Caption = 'Country/region-specific func.'; +#if CLEAN28 + Permissions = tabledata "Accounting Period GB" = RIMD; +#endif Permissions = tabledata "Accounting Period GB" = RIMD, tabledata "BACS Ledger Entry" = RIMD, tabledata "BACS Register" = RIMD, diff --git a/src/Layers/GB/BaseApp/Permissions/localread.permissionset.al b/src/Layers/GB/BaseApp/Permissions/localread.permissionset.al index 9d486c813f3..fcb54aed359 100644 --- a/src/Layers/GB/BaseApp/Permissions/localread.permissionset.al +++ b/src/Layers/GB/BaseApp/Permissions/localread.permissionset.al @@ -7,19 +7,22 @@ using Microsoft.Finance.GeneralLedger.Setup; #if not CLEAN27 using Microsoft.Finance.VAT.Reporting; #endif +#if not CLEAN28 using Microsoft.Foundation.Address; using Microsoft.Sales.FinanceCharge; +#endif permissionset 1002 "LOCAL READ" { Access = Public; #if CLEAN28 Assignable = false; - Permissions = tabledata "Fin. Charge Interest Rate" = R, - tabledata "Postcode Notification Memory" = R; #else Assignable = true; Caption = 'Country/region-specific read only access.'; +#if CLEAN28 + Permissions = tabledata "Accounting Period GB" = R; +#endif Permissions = tabledata "Accounting Period GB" = R, tabledata "BACS Ledger Entry" = R, tabledata "BACS Register" = R, diff --git a/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al b/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al index 4dbac611b18..09e3e3e887f 100644 --- a/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al +++ b/src/Layers/RU/DemoTool/CreateAccScheduleName.Codeunit.al @@ -20,16 +20,6 @@ codeunit 101084 "Create Acc. Schedule Name" InsertData(XTBTxt, XTrialBalanceTxt, CreateColumnLayoutName.GetBBDRCREBColumnLayoutName(), ''); end; - local procedure UpdateEvaluationDate(); - var - AccScheduleName: Record "Acc. Schedule Name"; - begin - if AccScheduleName.get(XREVENUE) then begin - AccScheduleName.Validate("Analysis View Name", XREVENUE); - AccScheduleName.Modify() - end; - end; - var CreateColumnLayoutName: Codeunit "Create Column Layout Name"; XANALYSIS: Label 'ANALYSIS'; @@ -98,4 +88,3 @@ codeunit 101084 "Create Acc. Schedule Name" end; } - diff --git a/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al b/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al index cea32dac7c6..db53391699f 100644 --- a/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al +++ b/src/Layers/RU/DemoTool/ModifyCurrency.Codeunit.al @@ -6,8 +6,4 @@ codeunit 101904 "Modify Currency" exit; // RU end; - - var - Currency: Record Currency; } - From f611a87b7cffc5841769df69d8f9929c0f2f9717 Mon Sep 17 00:00:00 2001 From: Jesper Schulz-Wedde Date: Thu, 10 Sep 2026 09:33:57 +0200 Subject: [PATCH 7/7] Remove remaining RU analyzer fallout Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../ERM-Finance/ERMSourceCurrency.Codeunit.al | 66 ------------------- .../RU/Tests/VAT/ERMVATonJnl.Codeunit.al | 4 -- 2 files changed, 70 deletions(-) diff --git a/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al b/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al index e89949aa61a..54c245c755f 100644 --- a/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al +++ b/src/Layers/RU/Tests/ERM-Finance/ERMSourceCurrency.Codeunit.al @@ -886,46 +886,12 @@ codeunit 134897 "ERM Source Currency" [Test] procedure PurchaseInvoiceNormalVATFCYPaymentLoss() - var - VendorPostingGroup: Record "Vendor Posting Group"; - GeneralPostingSetup: Record "General Posting Setup"; - VATPostingSetup: Record "VAT Posting Setup"; - PurchaseHeader: Record "Purchase Header"; - GLAccount: Record "G/L Account"; - GLEntry: Record "G/L Entry"; - Currency: Record Currency; - CurrencyExchangeRate: Record "Currency Exchange Rate"; - VendorLedgerEntry: Record "Vendor Ledger Entry"; - GenJournalLine: Record "Gen. Journal Line"; - VendorNo: Code[20]; - PostedPurchaseInvoiceNo: Code[20]; - ExchRateAdjmDocNo: Code[20]; - Factor: Integer; - SCYBalance: Decimal; - AmountLCY: Decimal; begin exit; end; [Test] procedure PurchaseInvoiceNormalVATFCYPaymentGain() - var - VendorPostingGroup: Record "Vendor Posting Group"; - GeneralPostingSetup: Record "General Posting Setup"; - VATPostingSetup: Record "VAT Posting Setup"; - PurchaseHeader: Record "Purchase Header"; - GLAccount: Record "G/L Account"; - GLEntry: Record "G/L Entry"; - Currency: Record Currency; - CurrencyExchangeRate: Record "Currency Exchange Rate"; - VendorLedgerEntry: Record "Vendor Ledger Entry"; - GenJournalLine: Record "Gen. Journal Line"; - VendorNo: Code[20]; - PostedPurchaseInvoiceNo: Code[20]; - ExchRateAdjmDocNo: Code[20]; - Factor: Integer; - SCYBalance: Decimal; - AmountLCY: Decimal; begin exit; end; @@ -1581,28 +1547,6 @@ codeunit 134897 "ERM Source Currency" GenJournalLine.Modify(true); end; - local procedure CreateGeneralJournalLine( - var GenJournalLine: Record "Gen. Journal Line"; - GenJournalDocumentType: Enum "Gen. Journal Document Type"; - GenJournalAccountType: Enum "Gen. Journal Account Type"; - AccountNo: Code[20]; - CurrencyCode: Code[10]; - Amount: Decimal; - AmountLCY: Decimal; - PostingDate: Date) - var - GenJournalBatch: Record "Gen. Journal Batch"; - begin - LibraryERM.SelectGenJnlBatch(GenJournalBatch); - LibraryERM.ClearGenJournalLines(GenJournalBatch); - LibraryERM.CreateGeneralJnlLine( - GenJournalLine, GenJournalBatch."Journal Template Name", GenJournalBatch.Name, GenJournalDocumentType, - GenJournalAccountType, AccountNo, Amount); - GenJournalLine.Validate("Posting Date", PostingDate); - GenJournalLine.Validate("Currency Code", CurrencyCode); - GenJournalLine.Validate("Amount (LCY)", AmountLCY); - end; - local procedure GetGLEntries(var GLEntry: Record "G/L Entry"; DocumentNumber: Code[20]; DocumentType: Enum "Gen. Journal Document Type") begin GLEntry.SetRange("Document No.", DocumentNumber); @@ -1610,16 +1554,6 @@ codeunit 134897 "ERM Source Currency" GLEntry.FindSet(); end; - local procedure UpdateExchangeRate(var CurrencyExchangeRate: Record "Currency Exchange Rate"; CurrencyCode: Code[10]; ExchRateAmount: Decimal) - begin - CurrencyExchangeRate.SetRange("Currency Code", CurrencyCode); - CurrencyExchangeRate.FindFirst(); - CurrencyExchangeRate.Validate( - "Relational Exch. Rate Amount", CurrencyExchangeRate."Relational Exch. Rate Amount" + ExchRateAmount); - CurrencyExchangeRate.Validate("Relational Adjmt Exch Rate Amt", CurrencyExchangeRate."Relational Exch. Rate Amount"); - CurrencyExchangeRate.Modify(true); - end; - local procedure CreateDeferralTemplate(var DeferralTemplate: Record "Deferral Template") begin DeferralTemplate.Init(); diff --git a/src/Layers/RU/Tests/VAT/ERMVATonJnl.Codeunit.al b/src/Layers/RU/Tests/VAT/ERMVATonJnl.Codeunit.al index e227e8926e9..5b51f1a267b 100644 --- a/src/Layers/RU/Tests/VAT/ERMVATonJnl.Codeunit.al +++ b/src/Layers/RU/Tests/VAT/ERMVATonJnl.Codeunit.al @@ -637,9 +637,6 @@ codeunit 134044 "ERM VAT on Jnl" var GenJournalBatch: Record "Gen. Journal Batch"; GenJournalLine: Record "Gen. Journal Line"; - GLEntry: Record "G/L Entry"; - GLEntryVATEntryLink: Record "G/L Entry - VAT Entry Link"; - VATEntry: Record "VAT Entry"; begin // Check GL Entry VAT Entry Link for Posted General Journal Entry. @@ -1021,4 +1018,3 @@ codeunit 134044 "ERM VAT on Jnl" Reply := false; end; } -