Update 21.2 for Microsoft Dynamics 365 Business Central (on-premises) 2022 Release Wave 2 (Application Build 21.2.49990, Platform Build 21.0.49984)

Applies To
Dynamics 365 Business Central on-premises 2022 release wave 2, version 21

Overview

This update replaces previously released updates. You should always install the latest update. This update also fixes a remote code execution vulnerability. For more information, see CVE-2022-41127.

After you install this hotfix, you might have to update your license to gain access to new objects that are included in this or a previous update. (This applies only to customer licenses.)

For a list of updates that were released for Microsoft Dynamics 365 Business Central 2022 Release Wave 2, see released updates for Microsoft Dynamics 365 Business Central 2022 Release Wave 2. Updates are intended for new and existing customers who are running Microsoft Dynamics Released Updates for Microsoft Dynamics 365 Business Central 2022 Release Wave 2.

Important

We recommend that you contact your Microsoft Dynamics Partner before you install hotfixes or updates. It is important to verify that your environment is compatible with the hotfixes or updates that will be installed. A hotfix or update may cause interoperability issues with customizations and third-party products that work together with your Microsoft Dynamics 365 Business Central solution.

Problems that are resolved in this update

The following problems are resolved in this update.

Platform hotfixes 

ID Title
454598 OnFindRecord is not executed on the FactBox.
455076 Security update for Microsoft Dynamics 365 Business Central 2022 Wave 2 (On-Premises).
455166 "Working on it..." dialog after selecting the Power Automate Instant Flow action multiple times.
455455 The OnSelectReportLayoutCode function doesn't work if the app ID is not included in the layout name.
455645 Errors are logged to telemetry whenever the privacy notice is not accepted.
455747 "A modal dialog is open in another window. Complete the task to dismiss it first before continuing" error message after a successful operation.
454081 Compilation error when upgrading jobs for tenants caused by the incorrect extraction of the tenant apps from the database.
454087 Reduce the number of errors logged to the telemetry by the web client.
454107 Error about missing columns when running a report with a filter on the FlowField.
454214 Improve the reliability of user cache persistence.
454222 Loop at login caused by invalid configuration of user permissions.
455918 Correct the license check for the obsolete parts in PowerBI.
453386 Error when using the HttpClient call in Business Central online with content headers if the encoding is specified with double quotes.
456304 Improve the performance of the SQL connection authentication in Business Central online.

Application hotfixes

ID Title Functional Area
453030 "Your entry of X is not an acceptable value for 'Applies Amount'. The field can have a maximum of Y Decimal places" error message when trying the Apply Entries action in the Payment Reconciliation Journal. Cash Management
454708 The G/L Account No. Balance field incorrectly includes some directly posted transactions in total on the Bank Account Reconciliation Test report. Cash Management
452575 "The Financial Report does not exist. Identification fields and values: Name='' error message when trying to use the Edit Row Definition action in a Financial Report in the Swedish version. Finance
452915 The Vendor Prepayment Journal report only shows the first line when using the same Document No. to post multiple payment lines for the same vendor. Finance
453074 Rounding differences between Purchase and Inventory accounts when distributing item charges in foreign currencies. Finance
453140 The VAT Difference is not posted during the Batch Posting. Finance
453237 "The supplied column ID '34' cannot be found in the query." error message when running the Trial Balance report filtered by Balance that doesn't equal to 0. Finance
453634 The Starting Date and Ending Date fields are set mandatory on the request page while the account schedule can be printed without date filters. Finance
454469 "Purch. Account must have a value in General Posting Setup: Gen. Bus. Posting Group" error message when trying to cancel a credit memo. Finance
454839 Shortcut dimensions on the location card are not set by default on the transaction line as expected. Finance
455589 "La longitud de la cadena es 14, pero debe ser menor o igual a 10 caracteres. Valor: PREDETERMINADO" error message when changing between companies with Financial Report open and using the Spanish language. Finance
453025 No. of Periods on the Deferral schedule was reverted after the amount was changed on the order lines in the United States version. Finance
452954 The Renumber Document Numbers function overwrites the document numbers for printed checks. Finance
453120 A warning is needed for users when trying to post a prepayment invoice after partially invoiced. Otherwise, the generated amount of the prepayment invoice is incorrect. Finance
454010 The Allow Posting From and Allow Posting To fields of the Gen. Journal Template do not work as expected. Finance
450784 Dimension values are mixed up when using the dimension value filter. Finance
453019 "The length of the string is X, but it must be less than or equal to 20 characters." error message when posting a warehouse shipment from an IC sales order. Inventory
453052 The Replenishment System field is updated and the Assembly BOM option is set to YES automatically when a user navigates into the assembly BOM page from purchase to assembly without creating any assembly BOM. Inventory
453079 A lot-tracked component item has been reversed from one production order and consumed in another. The consumption in the second production is not showing on the Item Tracing page. Inventory
453081 The Value Posting is not filled in the Item Card when creating an item from an Item Template with Dimensions defined. Inventory
453085 The Sales order and sales quote are missing on the Item List page. Inventory
454408 The Indirect Cost % field is not updated for an item when applying an item template whose indirect code equals to 0. Inventory
455468 Issue with Item Tracking Lines after undoing a posted assembly order. Inventory
455969 A description or comment entered in a Transfer Order is not taken over into the Posted Transfer Shipment. Inventory
452970 "Drop Shipment must be equal to 'No' in Sales Line:......Current Value is 'Yes'." error message using the Copy Document option after adding an Assemble-to-Order item with a Purchasing Code to a quote or an order. Inventory
453036 The Unit of Measure Code field is blank when creating a purchase order from the the View - Availability Check page for an Assembly Order component. Inventory
454751 The Replenishment System field can be edited in the view mode. Inventory
456006 The Invt. Shipment Nos. code must have a value in Inventory Setup: Primary Key=. It cannot be zero or empty. Inventory
453064 The Item Reservation prevents creating the Job Warehouse Pick. Jobs
453729 The Unit Cost (LCY) is updated incorrectly when a posting contains a Job with a different currency and exchange rates from the local information. Jobs
454634 The Open Current Time Sheet action in the role center doesn't work. Jobs
454647 The currecy identifier is missing in the Job Quote Preview report. Jobs
455295 Event request to be able to add extra fields to Inventory Pick for the usage from Job Planning Line. Jobs
455320 "The job planning line does not exist. Identification fields and values: Job No= XXXX Job task No = XXXX, line no= X." error message when trying to select an item lot to another job journal line. Jobs
453004 The External Document No. and Your Reference field in the Job Card are not transferred to the Sales Invoice. Jobs
454188 Error message when trying to add item tracking in the job journal. Jobs
455192 Job task lines bold are not updated. Jobs
452966 "The Planning Component does not exist…" error message when calculating a plan for the second time without planning lines, while Items included in the filter have manufacturing policy: Make-to-order. Manufacturing
453060 Prod. Order Comp. and Routing Report shows a blank request page. Manufacturing
453116 The Unit of Measure Code field is different at production order level with an SKU in use when dealing with items, UOM and SKU. Manufacturing
453609 Capacities are not updated after running the Calculate Work Center Calendar action multiple times when dealing with the shop calendar code and work center. Manufacturing
454640 Tooltips are incorrect in the manufacturing module. Manufacturing
455118 The ApplicationArea property "Manufacturing" is not set on the Production Order List page. Manufacturing
454722 Scrap Code doesn't work for Work Center but only work for Machine Center. Manufacturing
453969 Component Forecast Netting issues where the Forecast is not consumed correctly if Component at Location Code is left blank in Manufacturing Setup. Manufacturing
451475 "The prepayment account is assigned to VAt posting group" error message when trying to post a prepayment invoice. Purchase
452961 The cost is missing when deleting an item charge assignment of a received item line if the item charge is invoiced. Purchase
453049 The order date doesn't change in purchase order lines after changing the order date in the header. Purchase
453826 The Requisition Worksheet issues when using Stock Keeping Units. Purchase
454237 The Header Dimension is deleted in a purchase order when selecting the ship-to custom address and the choice of the confirm dialog is not respected. Purchase
454731 "There is no Item Application Entry within the filter. Filters: Item Ledger Entry No.: <>XXX, Inbound Item Entry No.: XXX" error message when trying to undo a purchase return shipment for a tracked item posted to a job. Purchase
455838 The confirmation dialog doesn't show when the location code changes the dimensions on orders. Purchase
456191 The confirmation message on controlling the change of Header Dimensions shows twice when changing the Ship-to value in a purchase order. Purchase
452917 Unable to invoice the purchase order after renaming a Received Only resource since the resource is not renamed on the purchase order line. Purchase
453146 Selecting New Document from a vendor creates a purchase document and the Lines Type is stuck on Item but unable to open the drop-down list. Users need to drill down on Item, select Open Full List, and choose from the Option Lookup List. Purchase
453033 The Dimension Code from Purchaser is ignored when creating a purchase order via the requisition worksheet. Purchase
453091 Incorrect amount in the details information for the approval entries. Purchase
452462 "The Sales Header does not exist. Identification fields and values: Document Type='Order',No.='X'" error message when creating a Sales Order for a customer with Recurring Lines setup to be inserted automatically. Sales
452963 Unable to edit the Purchasing code for an assembly BOM item on a sales order after deleting the related purchase order. Sales
452975 The VAT Clause is missing in a Posted Prepayment Invoice. Sales
453068 It is possible to delete a salesperson code even if it is in use. Sales
453072 "Unit Price Excl. VAT must be positive when Prepayment % is not 0 in Sales Line Document Type" error message appears when trying to access the Statistic. Sales
453113 The Shipping Time is not filled when creating a Sales Order by inserting a Sell-to Contact Number. Sales
453490 Requisition worksheet lines are deleted when using the order promising in a job planning line. Sales
453891 Contact Job Responsibilities does not work as a filter on the Suggested Email Addresses page. Sales
449112 Issue when creating new pricelist lines for items with variants. Sales
452968 Unable to access Archived Sales Invoices in Business Central. Sales
453056 "Prepmt. Line Amount Excl. VAT cannot be more than X in Sales Line Document Type='Order'" error message when trying to post a partial shipment and invoice in the Spanish version. Sales
455824 The confirmation message on applying customer or vendor templates is not clear enough about overwriting existing values on the customer or vendor with blank values from the templates. Sales
456423 An Item Extended Text Line is inserted at incorrect position in the sales order if there's a filter in the sales order subform focus mode. Sales
456211 ItemFilter is missing for the Service Line in Codeunit 5022. Service Management
456352 The Direct debit mandate ID field is not filled automatically in the Service Contract or when a Service Order is created from a Service Contract. Service Management
454369 Warehouse Pick process does not pick full quantity even if the stock is enough for the pick. Warehouse
454681 The Availability by Lot page in the Warehouse Pick shows wrong Item numbers. Warehouse
455063 Unable to delete a registered Warehouse Putaway due to permission issues. Warehouse
455206 The print overview is incorrect at the posted transfer shipment level and some data are overridden on the Header Level report when dealing with a direct transfer. Warehouse
453553 Warehouse Pick for lot tracked items at full WMS location over-picks from a bin. Warehouse
453062 Break bulk and partial put-aways created from the Put-away Worksheet overstates the Item Tracking quantity handled and prevents the put-away of the full quantity. Warehouse

Local application hotfixes 

AU - Australia

ID Title Functional Area
454817 The Source Code is not populating on Bank Deposit Journal Lines in the Australian version. Finance
453483 The rounding down function is not working after clicking "Statistics" or "Release" in a purchase order and the amount rounds up in the Australian version. Finance
453103 "The length of the string is 20, but it must be less than or equal to 10 characters. Value: XXXXXXXXXXX" error message exists regarding dimension value characters limit in the Australian version. Finance

CA - Canada

ID Title Functional Area
456232 Remit Address Functionality is not working for the Check report in the Canadian version. Cash Management
453012 Tax percentages for the Manitoba Tax Details need to be updated to seven percent in the Canadian version. Finance
454677 Error in the Sales Tax Journal if the Bank Account Code is more than 10 characters in the Canadian version. Finance

CZ- Czech

ID Title Functional Area
454022 Error message occurs during the process of transferring lines from Bank Statement to Payment Journal and not all of the lines are transferred in the Czech version. Cash Management
455516 The incorrect Exchange Rate is used for Documents with currencies when an Adjust for Payment Discount is applied in the Czech version. Cash Management
454495 The Financial Reports action opens an incorrect page in the Accountant Role Center in the Czech version. Finance
454244 "Statistics has to close" error message when trying to open the statistics page from a foreign currency purchase document in the Czech version. Finance
453284 Bank information is not printed in the Czech version. Finance
453531 Issue with the Physical Inventory List report in the Czech version. Finance
454773 "The Cash Document Line does not exist." error message when running Cash Document Rounding and the rounding G/L account has a dimension value defined in the Czech version. Finance
454576 "The Field Bank Account Code of table Purchase/Sales Header contains a value (01) that cannot be found in the related table" error message when trying to create a Purchase or Sales Return Order in the Czech version. Purchase
454466 The Your Reference field shows on the purchase documents page in the Czech version. Purchase
454862 All documents are attached when using the Attach as PDF action in the Czech version. Sales

DE - Germany

ID Title Functional Area
454183 "The supplied column ID '34' cannot be found in the query." error message when running the Trial Balance report filtered by Balance that doesn't equal to 0 in the German version. Finance

ES - Spain

ID Title Functional Area
454027 "Parse Error: Couldn't match the documents" error message appears on SII History when trying to use the Retry All option in the Spanish version. Finance
453010 "A dimension used in Gen. Journal Line, , 10000 has caused an error. Select Dimension Value Code XX for the Dimension Code XX for Salesperson/Purchaser XX" error message when trying to settle a Posted Bill Group in the Spanish version. Finance
453099 Error in the Customer Statement report includes the entries set as "Excluded from Calculation" in the Spanish version. Purchase
453083 Error occurs when the same document is applied to a Payment Order and a Payment Journal in the Spanish version. Purchase
454240 The 349 Declaration sums up amounts for customers with the same VAT Registration No. when non-taxable VAT is involved in the Spanish version. VAT/Sales Tax/Intrastat
452932 "Unrealized VAT Type must be 'Percentage' in VAT Posting Setup" message is not applied consistently depending on whether the VAT Bus. Posting Group in the document is the same as the group on the Vendor card or not in the Spanish version. VAT/Sales Tax/Intrastat

IT - Italy

ID Title Functional Area
451977 The data is not accepted by the Authorities when exporting an Electronic Invoice with special characters in the Italian version. Sales
454533 The Sales Invoice report shows incorrect Remaining Amount when using the Multiple Payment Terms line in the Italian version. Sales
455482 The total amount exported in the Electronic Invoice is incorrect when posting a Sales Invoice with Currencies in the Italian version. Sales

MX - Mexico

ID Title Functional Area
456232 Remit Address Functionality is not working for the Check report in the Mexican version. Cash Management
454261 The SCT Permission Number must be under the Fixed asset card not the company information in the Mexican version. Finance
453924 Error when requesting an invoice with products registered as service and the quantity contains decimals in the Mexican version. Finance
453926 The Concepto field in the Auxiliar Accounts Electronic XML report is taking the information of Source Code instead of Description in the Mexican version. Finance
453291 An extra field shows in the SAT Payment Terms and is unable to be removed in the Mexican version. Finance

NO - Norway

ID Title Functional Area
453133 "KID must have a value in Payment Export Data: Entry No.=X. It cannot be zero or empty" error message when trying to map the KID field on the Data Exchange Definition and export the payment file in the Norwegian version. Administration
454679 Overflow error when using the Use External Document No. option on the Vendor - Open Entries report in the Norwegian version. Finance
455473 Technical validation error message related to the VAT Clause Description when importing a custom report layout for the Standard Sales - Invoice report in the Norwegian version. Sales

US - United States

ID Title Functional Area
456232 Remit Address Functionality is not working for the Check report in the United States version. Cash Management
454677 Error in the Sales Tax Journal if the Bank Account Code is more than 10 characters in the United States version. Finance
453639 Fields are incorrectly negative on the Purchase Invoice Statistics page in the United States version. Purchase
450394 Dimension priorities are not working on sales orders when there are three priorities in the United States version. Sales
449286 Error with the rounding amount when posting a 100% prepayment invoice with a Line Discount % in the United States version. Sales
453014 The Sales Invoice doesn't print G/L Accounts when an Assemble-to-Order item and its components are printed in the United States version. Sales
454615 The Unit Cost is not pulling onto the Service Item Worksheet or Service Line of a Service Order in the United States version. Service Management

Local regulatory features

FR - France

ID Title Functional Area Changed Objects
455641 Update in the Service Declaration in the French version. Financial Management DataClassificationEvalData.Codeunit DataExchColDefPart.Page DataExchColumnDef.Table DataExchTableFilter.Table ExportGenericXML.Codeunit ExtractFromDateType.Enum ImpExpDataExchDefMap.XmlPort GeneralLedgerAdmin.PermissionSet GeneralLedgerEdit.PermissionSet GeneralLedgerJournalsEdit.PermissionSet PayablesJournalsEdit.PermissionSet SEPACreditTransfersEdit.PermissionSet SEPADirectDebitEdit.PermissionSet d365automation.permissionset d365basic.permissionset d365basicisv.permissionset d365read.permissionset d365setup.permissionset d365teammember.permissionset intelligentcloud.permissionset TransformationRule.Table TransformationRuleCard.Page TransformationRuleType.Enum Extensions: ServiceDeclarationFR ServiceDeclaration

MX - Mexico

ID Title Functional Area Changed Objects
455356 Need an option in the Sales invoice to add the Comercio Exterio Complemento in the Mexican version. Financial Management DataClassEvalDataCountry.Codeunit GeneralLedgerSetup.Page GeneralLedgerSetup.Table CFDIExportCode.Table CFDIExportCode.XmlPort CFDIExportCodes.Page DocumentHeader.Table EInvoiceMgt.Codeunit SATCustomUnits.Page SATCustomsUnit.Table SATCustomsUnit.XmlPort SATInternationalTradeTerm.Table SATInternationalTradeTerm.XmlPort SATInternationalTradeTerms.Page SATUtilities.Codeunit local.permissionset PostedSalesCreditMemo.Page PostedSalesInvoice.Page SalesCrMemoHeader.Table SalesCreditMemo.Page SalesHeader.Table SalesInvoice.Page SalesInvoiceHeader.Table SalesOrder.Page UnitofMeasure.Table UnitsofMeasure.Page

NL - Netherlands

ID Title Functional Area Changed Objects
454915 Update the setup for yearly taxonomy of Electronic Tax Declaration in the Dutch version. Financial Management ElecTaxDeclarationMgt.Codeunit ElecTaxDeclarationSetup.Page ElecTaxDeclarationSetup.Table ElecTaxDeclUpgrade.Codeunit UpgradeTagDefCountry.Codeunit Extensions: NLDigitalTaxDeclaration

Resolution

How to obtain the Microsoft Dynamics 365 Business Central 2022 Release Wave 2 files

This update is available for manual download and installation from the Microsoft Download Center.

Update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2

Which hotfix package to download

This update has multiple hotfix packages. Select and download one of the following packages depending on the country version of your Microsoft Dynamics 365 Business Central 2022 database.

Country Hotfix package
AT - Austria Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 AT package
AU - Australia Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 AU package
BE - Belgium Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 BE package
CA - Canada Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 CA package
CH - Switzerland Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 CH package
CZ- Czechia Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 CZ package
DE - Germany Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 DE package
DK - Denmark Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 DK package
ES - Spain Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 ES package
FI - Finland Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 FI package
FR - France Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 FR package
GB - United Kingdom Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 UK package
IN - India Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 IN package
IS - Iceland Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 IS package
IT - Italy Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 IT package
MX - Mexico Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 MX package
NL - Netherlands Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 NL package
NO - Norway Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 NO package
NZ - New Zealand Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 NZ package
RU - Russia Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 RU package
SE - Sweden Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 SE package
US - United States Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 US package
All other countries Download update 21.2 for Microsoft Dynamics 365 Business Central 2022 Release Wave 2 W1 package

How to install a Microsoft Dynamics 365 Business Central on-premises 2022 Release Wave 2 update

See How to install a Microsoft Dynamics 365 Business Central 2022 Release Wave 2 update.

Prerequisites

You must have Microsoft Dynamics 365 Business Central 2022 Release Wave 2 installed to apply this hotfix.

More information

See more information about software update terminology and Microsoft Dynamics 365 Business Central 2022 Release Wave 2.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.