D365 BC Shows Error When Changes Made in Table Fields:
(1) The system show error when we did changes in the Table fields like Delete, Change Data Type and Rename in Dynamics 365 Business Central.
(2) Error Message-
Microsoft (R) AL Compiler version 7.4.7.43721 Copyright (C) Microsoft Corporation. All rights reserved Compilation started for project ‘TNSProjectExtension’ containing ’25’ files at ’18:26:34.515′. e:\ABC Extensions\ABCProjectExtensions.vscode\Custom Object\ProjectBudgeting.Page.al(91,61): error AL0132: ‘Record “Sales Line”‘ does not contain a definition for ‘BudgetedMargin’ Compilation ended at ’18:26:35.597′. Error: The package could not be created. |
(3) For solving the above error. Define “schemaUpdateMode“: “ForceSync” in “launch.json” file. And publish the extension again. As shown below-