{"title":"Compiling objects","url":"https://jonas-paprotka.de/docs/dev-itpro/cside/cside-compiling-objects/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/cside/cside-compiling-objects, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/cside/cside-compiling-objects","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Learn how to compile objects in C/SIDE in Business Central-","date":"2021-04-01","meta":{"topic":"concept-article"},"outline":[{"level":2,"title":"Syntax Errors","slug":"syntax-errors","at":538,"chars":688},{"level":2,"title":"Obsolete Construct Errors","slug":"obsolete-construct-errors","at":1226,"chars":436},{"level":2,"title":"Multilanguage Captions","slug":"multilanguage-captions","at":1662,"chars":259},{"level":2,"title":"Related information","slug":"related-information","at":1921,"chars":48}],"text":"Before you can run an object, you must compile the object. To compile an object, do one of the following:\n In Object Designer, choose Tools, and then choose Compile. Any syntax errors are displayed in a dialog box. Any errors or warnings about obsolete constructs in a three-tier environment are displayed in the Error List window.\n Run finsql.exe with the CompileObjects command. Any errors or warnings are added to the log file. See cside-command-prompt#CompileObjects.\n> NOTE\n> To compile an object, you must have a developer license.\n## Syntax Errors\nSyntax errors are detected by the C/AL compiler when you try to compile C/AL code, either in a codeunit or as code in another object, such as a table, page, report, query, or XMLport. If you open an object in the designer and then compile the object, then if the compiler detects a syntax error, when you select Enter and acknowledge the error message, the C/AL editor opens with the cursor in front of the expression that has the error. If you compile an object directly from Object Designer and if the compiler detects a syntax error, then the C/AL editor does not open to show where the error occurred.\nThe compiler will not compile code that contains a syntax error.\n## Obsolete Construct Errors\nThe following types of obsolete construct errors and warnings are displayed:\n Unsupported data type warnings for Binary and XMLport types.\n Unsupported function calls.\n> NOTE\n> Unsupported function calls for reports are not reported in the Error List window.\nIf you select an error in the Error List window and choose Design, then the C/AL Editor opens for the object to which the error or warning relates.\n## Multilanguage Captions\nWhen you compile application objects, the objects are stored in Unicode encoding. If the application objects contain multilanguage captions, Dynamics NAV uses the code page that is relevant for the languages that you have specified.\n## Related information\ncside-lock-unlock-objects"}