Short Keys in AL Environment (D365 BC)

Short Keys in AL Environment: Overview of shortcuts key in visual studio code (AL Environment D365 BC). Keyboard Shortcut Action Description Ctrl+Shift+P Show All Commands Alt+F6 Download source code Alt+A Alt+L AL Go! Ctrl+Shift+B Package F5 Publish & For Debugging (if debug is active) Ctrl+F5 Build and publish without debugging F6 Publish and open Designer Ctrl+F2 …

Use of UPDATE Statement in SQL

Use of UPDATE Statement in SQL: (1) “UPDATE” statement is used to modify records. (2) Syntax of “UPDATE” statement is: UPDATE table_nameSET column1 = value1, column2 = value2, … column = valueNWHERE condition; WHERE clause is used to specify which record should be modified. (3) Let’s take an example to update/modify records in the Vendor table as shown. …

Use of STORED PROCEDURES in SQL

Use of STORED PROCEDURES in SQL: (1) “STORED PROCEDURES” is a type of function in SQL Query which is used in other queries again and again. You can also pass parameters so that it gives results according to the given parameter. (2) Syntax of “STORED PROCEDURE” statement is: CREATE PROCEDURE PROCEDURE_NAMEASSQL STATEMENTGO; (3) Let’s take an …

Use of GROUP BY Statement in SQL

Use of GROUP BY Statement in SQL: (1) “GROUP BY” is used to group rows having the same value in a column (grouping of records on the basis of column). (2) “GROUP BY” is mainly used with the combination of COUNT(), MAX(), MIN(). (3) Syntax of “GROUP BY” statement is: SELECT Col1, Col2, …ColNFROM table_name1GROUP BY Col2; …

Use of UNION and UNION ALL Operator in SQL

UNION and UNION ALL Operator in SQL: (1) “UNION” & “UNION ALL” operators are used to combine two SELECT statement results. (2) The difference between “UNION” and UNION ALL” is that “UNION” select only unique values from two columns having the same datatype and same sequence whereas “UNION ALL” select all values whether it is duplicate …

How to Take BACKUP from SQL Database

Take BACKUP from SQL Database: (1) Open SQL Management studio, as shown. (2) Run as administrator, as shown. (3) After that SQL server window open and select server and enter User Id & Password (*User id & Password is required when SQL server is open as SQL Server Authentication. If open as Window Authentication then User …

How to Fix WORK DATE issue in D365 BC

Fix WORK DATE issue in D365 BC: (1) When opening CRONUS Company, you notice that the WORK DATE is not matched with the current date, the reason behind this is that for CRONUS Company, Microsoft assigns WORK DATE according to the last “Posting Date” of G/L Entry. Refer to “Company Information Page” as shown- (2) If …