Category Archives: D365 Business Central
Import a .csv file for Bank Reconciliation in Dynamics NAV 2017
Introduction: This article gives a step by step process to import a .csv file in Dynamics NAV 2017 for Bank Reconciliation. Pre-requisites: Microsoft Dynamics NAV 2017 Microsoft Excel Steps: 1. Browse to Data Exchange Definition page, and click on new to create a new data exchange setup. This setup enables us to import a specified bank statements file. 2. In the new ‘Data Exchange Definition’ enter the code and name. File type – Variable Text Type – Bank Statement Import Reading/Writing Xml Port – 1220 Ext Data Handling Codeunit – 1240 And in the Line definition enter the code, name and the column count 3. Enter the column definition and associate appropriate data types. The columns are from the bank statement file which we need to map to Microsoft dynamics NAV. Go to Column definitions for Data Exchange Definition, and make sure Data Format has an uppercase M. 4. Now click on the ‘Field Mapping’ button in the Line definition tab. 5. The Data exchange Mapping window opens, click on new and enter the details Table Id: 274 Mapping codeunit:1248 And give a Name to the Mapping. In the Field Mapping tab, select the column number and map it with the appropriate field Id. 6. Now in the search bar of the NAV Windows client, browse to Bank Export-Import setup and click on new and enter the details, fill the entries for code, name Direction – Import Processing Codeunit Id – 1270 In the Data Exchange Definition code, select the drop down to the Data exchange definition created and click on OK. 7. Browse to ‘Bank account’ from the NAV Windows Client and select the bank where you want to import the bank statement. Click on Edit. In the Bank Statement Import format of the Transfer tab, select the bank import set up created. 8. Browse to the Bank account Reconciliation page and click on new, select the bank account where the Bank statement Import Format is assigned. 9. Click on the Import Bank Statement button under the Home tab. 10. Select the CSV file of the bank statement. 11. The Bank statement will be imported and you can view the changes in the Bank statement Lines tab.
Share Story :
Blanket Purchase Order Dynamics NAV
A blanket purchase order is purchase agreement between the company and a vendor. It typically involves one item with multiple shipments at predetermined quantities, price and delivery dates. Scenario: Purchase person orders 1000 units of item that will be delivered 200 units for each week. Steps: 1) In the Search box, enter “blanket purchase orders”, and select the related link. 2) Click on new to create new blanket purchase order. 3) On the General FastTab, in the Buy-from Vendor No. field, select vendor 4) Keep the Order Date field blank. When the separate purchase orders are created from the blanket order, the program will set the order date of the purchase order equal to the current date. 5) On the Lines FastTab, in the Type field, select Item. 6) In the No. field, select item. 7) In the quantity field, specify quantity 200. 8) Specify date in Expected Receipt Date field. 9) Create four more lines and specify 200 quantity and expected receipt date in each line. 10) Now in Qty. to Receive field, keep the quantity of 200 for the first line and delete the quantity to receive in the other four lines. 11) On the Home tab, click Make Order. 12) Click Yes to create an order. 13) You will get message that states that a purchase order is created from the blanket order. 14) To open the purchase order, select the first line on Blanket order. 15) On the Lines FastTab, point to Line, then to Unposted Lines, and then click Orders. 16) On Home tab of the Purchase Lines page, click Show Document. Then the purchase order will appear. Conclusion: By using purchase agreement organization can buy a specified quantity, price, delivery dates by using multiple purchase orders over time.
Share Story :
Importing Excel file in Microsoft Dynamics NAV using Excel Buffer
Dynamics 365 business central development is an ERP or Enterprise Resource Planning solution from Microsoft. It is undoubtedly one of the best in the market. A lot of Small and mid-sized companies are using this software to increase their efficiency and productivity of their teams. It is easy to install and deploy this software. It is also quite affordable. The best part about it is that your employees can learn how to use it in a few days. Now, this is one of the key reasons why a lot of companies are happy to get this software. There are a lot of resources that are available to help people who are stuck with a problem to get over it quickly. Introduction: This article is to import data from the Excel file into existing NAV table. This import matches the excel entries with the existing NAV table and modifies the records of the table on import of the excel file. To accomplish this, we create a report using Excel Buffer as the DataItem. Pre-requisites Microsoft Dynamics NAV 2017 Microsoft Excel. Steps: 1. Create a table with fields and populate it with data. 2. Create a excel file which you want to import. 3. A page is created with action button to Import data from excel. 4. A Report is created using Excel Buffer(table id 370) as a Data Item. The report property Processing Only is set to yes. Standard ‘ReadSheet’ function of the table Excel buffer is used to read the data from the Excel file. 5. A function is used to calculate the total number of rows and columns using Excel Buffer table. 6. On the PreReport function of the report we write the following code. 7. In the Insert Data function it initializes the table created in step 1, sets the range from the matching fields and if found it inserts values in the table. 8. To open the Excel file and selection of sheet we write a code in the Request Page in the Report. We use File Management codeunit to upload file. 9. Now run the page and click on the action Import then select the excel file. 10. The import is completed and we can view the modified changes on the page after the excel file import.
Share Story :
Displaying Lookup Form on a field based on a particular selected option of another field in Request page of a Report in Microsoft Dynamics NAV
Introduction: In Microsoft Dynamics NAV, Lookup Form on a field corresponding to a particular selected option of another field can be displayed in the Request page of a report using C/AL code. In this article we are going to see the procedure with the code required to achieve the same. Pre-requisites: Microsoft Dynamics NAV 2017 Procedure: Step 1: Consider the below two fields which are created in the request page of a report i.e. ‘Bal. Account Type’ and ‘Bal. Account No’. Step 2: BalAccountType is a global C/AL variable of type option which has two options in OptionString property i.e. G/L Account and Bank Account. Condition: If G/L Account option is selected in the ‘Bal. Account Type’ field, then G/L Account List i.e. Page 18 should be displayed as a lookup form in the ‘Bal. Account No’ field. If Bank Account option is selected in the ‘Bal. Account Type’ field, then Bank Account List i.e. Page 371 should be displayed as a lookup form in the ‘Bal. Account No’ field. Step 3: Firstly in ‘SelectionFilterManagement’ i.e. Codeunit 46, create a function GetSelectionFilterForBankAccount(). In the above C/AL code, BankAccount is a global C/AL variable of type record ‘Bank Account’ i.e. Record 270. The local parameter of the function is: Return value of the function is: The variable of the function is: Step 4: Now, create a function ‘GetSelectionFilter()’ in ‘Bank Account List’ page. In the above C/AL code, BankAccountTable is a global C/AL variable of type record ‘Bank Account’ i.e. Record 270. The properties of the above function are as follows: The return value of the function is: Step 5: Create a function ‘GetSelectionFilter’ in ‘G/L Account List’ i.e. Page 18 In the above code, ‘GLAcc’ is a global C/AL variable of type record i.e. Record 15. The return value of the function is: The variables of the function are: Step 6: To display the lookup form based on the condition mentioned in step 2, C/AL code needs to be added in the OnLookup trigger of ‘Bal. Account No’ field. In the above code, ‘BankAccountNoList’ is a global C/AL variable of type Page ‘Bank Account List’ i.e. Page 371 and GLAccountPage is a global C/AL variable of type Page ‘G/L Account List’ i.e. Page 18. Following screenshots show the lookup form being displayed based on a option selected in another field: If G/L Account is selected in Bal. Account Type, the following lookup form i.e. ‘G/L Account List’ is displayed. If ‘Bank Account’ is selected in Bal. Account Type, the following lookup form i.e. ‘Bank Account List’ is displayed. Thus after completing the above mentioned steps, Lookup Form on a field corresponding to a particular condition of another field can be displayed in the Request page of the report.
Share Story :
GST- Goods and Service Tax Implementation Update Procedure for Microsoft Dynamics NAV 2016 India
Introduction: Goods and Service Tax (GST) will be applicable at national level. It is a consumption based tax levied on sales, manufacture and consumption of goods and services. This tax will act like a substitute for all indirect tax levied by the government. GST patch has been released and is a part of the cumulative update 17 for Microsoft Dynamics NAV 2016. Pre-requisite: 1. Microsoft Dynamics NAV 2016 (IN version) 2. Cumulative Update 17 for Microsoft Dynamics NAV 2016 IN Purpose: The purpose of the blog is to explain the procedure to update the GST patch on Microsoft Dynamics NAV 2016 IN. Procedure: Download the Cumulative Update 17 for Microsoft Dynamics NAV 2016 IN (CU 17 NAV 2016 IN.zip) from here. Unzip the folder. Take SQL backup of the complete NAV 2016 database to ensure nothing is lost after the Cumulative update 17 which includes GST patch has been installed. Fig 1: SQL Backup of database A cumulative update includes files that are separated into the following folders i.e. ‘APPLICATION’ and ‘DVD’. Application folder includes the following files: Fig 2: Application folder To install application files, follow below steps: Unmodified databases: Import the CUObjects.fob file (highlighted in Fig. 3) into unmodified Microsoft Dynamics NAV 2016 database and replace the existing objects in the database with the cumulative update objects. Fig 3: CUObjects.fob file in Application folder Modified databases: Import the CUObjects.fob file (highlighted in Fig. 3) into the modified database. Replace the objects in the database that have not been modified. Compare and merge the cumulative objects with the objects in the database that have been modified. If a table in the cumulative update has a new field and the same table in your database has been modified, use the Merge: Existing<-New or the Merge: New<-Existing options to import the new fields. Fig 4: Reading objects process after selecting file to be imported Fig 5: Import Worksheet which shows the GST patch objects Fig 6: Number of objects created and replaced after import of objects has been completed All objects in the database have to be compiled after the import process has been completed. Now in the Microsoft Dynamics NAV desktop client and web client, GST patch will be available under Financial Management Department. Fig 7: GST patch available in NAV under Financial Management Department Fig 8: GST Using the above mentioned steps, GST patch can be installed in the Microsoft Dynamics NAV 2016 (IN version).
Share Story :
Embedding Microsoft Dynamics NAV and its web parts in SharePoint online
Microsoft Dynamics is an ERP or Enterprise Resource Planning software that is created by one of the top companies in the world, Microsoft. Many small and medium companies are using Microsoft Dynamics NAV these days. Microsoft Dynamics NAV upgrade is now available. Businesses that are using this software can now update it. This ERP software does help companies to remove the inefficiencies in their processes. Almost all the departments in the organization can benefit when they start to use the ERP software. Once you update the software, you might struggle a few days as you try to understand the way the system works. Here is one of the issues that you might face and how you can handle it Introduction: Microsoft Dynamics NAV can be embedded in SharePoint online which will be available as an app in SharePoint. Thus, NAV data will be displayed on the SharePoint site. The user can then modify and save the data on the SharePoint site through the NAV web client. Also, web parts such as Sales Orders List, Customers List, etc. can be added to the SharePoint site. When the user selects a particular record in SharePoint online, it opens the relevant page in the Microsoft Dynamics web client and after the changes are saved and the page has been closed, the change is reflected in SharePoint online. Pre-requisites: 1. Microsoft Dynamics NAV 2016 2. SharePoint online account Purpose: The main purpose of embedding NAV 2016 in SharePoint online is to make all the NAV data available in SharePoint so that a SharePoint user can check and modify NAV data in SharePoint online itself. Procedure: Step 1: To Register Dynamics NAV as an App in SharePoint Go to the appregnew.aspx page in your SharePoint given as below: https://MyTenant.sharepoint.com/_layouts/15/appregnew.aspx where https://MyTenant.sharepoint.com is the URL of the SharePoint site. The following fields have to be entered to register a new app: Client Id: It will be generated automatically after clicking the generate button. Client Secret: It will be generated automatically after clicking the generate button. Title: Enter a unique title for the app. App Domain: Enter the host name of Microsoft Dynamics NAV web client URL for example cronus.com Redirect URL: Enter the URL of the Microsoft Dynamics NAV web client for example https://www.cronus.com/DynamicsNAV100 Click on the Create button to register the app. Step 2: Create an app catalog Go to the following link: https:// MyTenant.sharepoint.com/_layouts/15/online/SiteCollections.aspx Go to apps and then navigate to app catalog Create a new app catalog site if there is no existing app catalog for the tenant Enter a title for the app catalog and the web site address name. Also enter the administrator name. Click OK and now the app catalog will be created and will be added to the Site Collections list. Step 3: To create app in SharePoint online. Go to Visual Studio and Create a new project – App for SharePoint Enter a unique name for the project. The app should be Provider-hosted After the project has been created, remove the webapp that is created by visual studio automatically. Now go to AppManifest.xml. Replace the highlighted part of Start page link in Visual Studio (shown in the below screenshot) with the web client URL for example: https://www.cronus.com/DynamicsNAV100/WebClient/ Right click on the project and Publish the app. After the app has been published, package the app. Step 4: Upload the app made in Visual Studio to SharePoint in Apps for SharePoint and add the app to Site collections Go to the app catalog created. Click on Apps for SharePoint. Now upload the app to SharePoint. It can be done directly by dragging the app from the folder in which it is created after publishing and packaging to the Apps for SharePoint section. The app will then be copied under apps for SharePoint. Go to Site Collections and navigate to Site Contents. Click on ‘Add an app’ Click on ‘Trust it’ and then the app will be added to SharePoint. Step 5: To add a Microsoft Dynamics NAV web part to SharePoint online Go to Visual Studio and open the project that was created initially. Right click on the project and add a new item ‘Client Web Part (Host Web)’ Enter the Web part URL under ‘Select or enter the URL of an existing web page for the client web part content’ The following code illustrates how to modify the Elements.xml file: <?xml version=”1.0″ encoding=”utf-8″?> <Elements xmlns=”http://schemas.microsoft.com/sharepoint/”> <ClientWebPart Name=”ListPart” Title=”Microsoft Dynamics NAV List Part” Description=”List from Microsoft Dynamics NAV” DefaultWidth=”800″ DefaultHeight=”300″ > <Content Type=”html” Src=”https://www.cronus.com/DynamicsNAV100/WebClient/List.aspx?page=_ThePageId_&pagesize=5&shownavigation=0&showribbon=0&showuiparts=0&isembedded=1/> <Properties> <Property Name=”ThePageId” Type=”int” DefaultValue=”9305″ WebCategory=”Microsoft Dynamics NAV” WebDisplayName=”Page number” RequiresDesignerPermission=”true” /> </Properties> </ClientWebPart> </Elements> The above ‘ThePageId’ property has been defined so that the web part page to be displayed can be modified after clicking ‘Edit’ on the SharePoint page. Change the version number in AppManifest.xml. Again publish and package the app. Now Remove the previous app uploaded in Apps for SharePoint. Drag the app again and replace it in Apps for SharePoint.g. Now Go to Site Collections and navigate to Site Contents. Click on ‘Add an app’. Go to the Site Collection where the app has been added. Click on ‘Edit’. Select Insert an ‘app part’. Select the created web part and add it. Thus, the web part will now be added to the SharePoint page. The above screenshot shows that Sales Orders List web part has been embedded in SharePoint online.On clicking a particular record, it opens the relevant page in the NAV web client. Modifications can be made above. Upon saving and closing this record, the SharePoint page is refreshed and the change is reflected in SharePoint online. Important Note: The web part will not be embedded and displayed if the following property is present in web.config file which is present in the WebClient folder: <add name=”X-FRAME-OPTIONS” value=”SAMEORIGIN” /> Remove/Comment the above line of code in web.config file to embed NAV web parts in SharePoint online because SAMEORIGIN allows framing of the Microsoft Dynamics NAV Web client in another … Continue reading Embedding Microsoft Dynamics NAV and its web parts in SharePoint online
Share Story :
Make the editable fields un-editable based on a condition in NAV
Since Microsoft Dynamics NAV upgrade is available now, it is crucial for you as a company to go for it and get the update. Microsoft Dynamics NAV is an ERP software. ERP stands for Enterprise Resource Planning. Companies can increase the efficiency of their staff as well as their productivity when they use this particular ERP software. Especially, small and medium companies can get a good return on the investment if they invest in this particular software. Here are some of the departments in your organization that is going to benefit well when you use ERP software: Dynamic 365 Finance Manufacturing Units Customer Relationship Management Dynamic 365 Supply Chains Electronic Commerce Analytics and so forth Introduction: This article explains how to change the editable fields into un-editable fields based on certain condition. In this article, we make the page fields un-editable on change of status from Open to Released. For example, the fields like No., Description etc. will be freeze when the NAV page status changes to Released. Pre-requisites: Microsoft Dynamics NAV 2017. Steps We create a Boolean field in the Global variable (Ctrl + G) in the NAV page and sets the property by clicking on (Shift + F4) of the boolean variable ‘IncludeInDataset’ to yes. This property is set to yes when the variable is used as the value of the Editable property, enabled property, visible property or StyleExpr property. Now we select the fields of the NAV which needs to be changed to un-editable and set the enabled properties of the field to the Boolean field name. Now in the C/AL code (F9), in the ‘OnAfterGetCurrRecord’ we place a condition that if the status is Released then the Boolean field ‘fieldeditable’ is set to false this will freeze the fields and only if the status is open the ‘fieldeditable’ will be set to true. By default the value of the boolean variable is true. Below is the screenshot of the NAV page with status open. Below in the screenshot , the approval status is ‘released’.
Share Story :
Creating a new database in NAV 2017
Companies that want to become efficient should choose to adopt an ERP solution into their systems. Only then they can provide the best customer experience to their valuable clients. Microsoft Dynamics NAV is an enterprise resource planning application that helps companies to not only become efficient but to successfully mitigate losses. Once, you select the package, the ERP system providers will come and install the software and provide the necessary training to your staff so that they work efficiently. New users will take some time before they get used to the system. Doing certain tasks might seem to be difficult in the beginning. For example, creating a new database in NAV 2017 might seem like a mammoth task. Here are details of how you can do it. Introduction: Generally, when we install NAV, a default Demo database is always created in the Microsoft Dynamics NAV Development environment. In this blog, a new database is created thus, the developer can use two or more databases in a single NAV Development environment. Pre-requisites 1. Microsoft Dynamics NAV Development Environment 2. Microsoft SQL Server Management Studio. Steps In the Microsoft Dynamics NAV Development environment, Click on file then database and New. A new window opens, enter the database name of your choice and then click on OK. This creates a database with limited number of table objects starting from number 2000000004 i.e Permission set. Here Upgradation Database is the name of the Database Open the Microsoft SQL Server Management Studio as Administrator, navigate to the Demo datebase then navigate to Tasks and select Backup A new window opens, and click on Add button to specify the backup path Click on the button highlighted in the above screenshot, a new window opens, locate the database file and specify the file name and then ok. This will take the backup of the specified database. Now go to the new database created, in this example the database name is ‘Upgradation Database’. Navigate to task then restore then database. Now select device radio button in the source, click on the Assit edit button. Select the folder and select type as All Files. Select the Option and check the overwrite and close existing connection to destination database and then click on OK. Thus, using the above given steps a new database is created with all the standard objects. To access this database from the front end we need to create a server instance in Dynamics NAV Administrator and link it to the newly created database. In the Microsoft dynamics NAV Administrator, right click on the Microsoft dynamics NAV(Local) and select Add Instance. Here Specify the Server Instance name and enter the unique port numbers and click on OK. This creates the server instance. Now to link it to the database, click on the server instance, click on the edit button and scroll to Database fast tab. Specify the Database name and click on save. Now Click on stop and start the services for the Microsoft Dynamics NAV server instance. Open Microsoft Dynamics NAV 2017 front end and click on select server and specify the server instance address and click on tab, the available companies will be displayed then click on OK.
Share Story :
Upgradation of Application Code in Microsoft Dynamics NAV
ERP stands for Enterprise Resource Planning. So many companies are developing ERP software to streamline the processes. Dynamics 365 is one of the ERPs that will help the companies scale up high swiftly. You need to work with the best ERP system providers like CloudFronts if you want this software to make a difference in the lives of people. Microsoft Dynamics Nav is an ERP app that is developed by Microsoft. It is very much part of the popular Microsoft Dynamics family. Companies that use this product can streamline departments such as manufacturing, electronic commerce, supply chains, customer relationship management and so forth. Small and medium-sized companies are going to benefit greatly when they use this software. Here is a segment that you should know in this ERP application. Introduction: Upgradation of objects/data in NAV have to be done after the application has been upgraded to the latest version. Code from different versions of NAV application have to be merged to upgrade the data. This process of merging objects in NAV between different versions is known as code/data upgradation. Pre-requisite: Microsoft Dynamics NAV Windows PowerShell ISE The following objects have to be exported and saved: All Standard objects of the previous version of Microsoft Dynamics NAV in .txt format. All objects of the modified database of Microsoft Dynamics NAV in .txt format. All Standard objects of the higher version of Microsoft Dynamics NAV to which the objects have to be migrated in .txt format. After all these steps are performed, install the latest version of Microsoft Dynamics NAV to which objects need to be migrated. Purpose: The main purpose of Data Upgradation is to move customizations done in any previous version of Microsoft Dynamics NAV to the new Higher version of Microsoft Dynamics NAV database. Steps: Create 4 folders i.e. Original, Modified, Result and Target in the system. Fig 1: Create four folders as specified above Save the backup of ‘All Standard objects of the previous version of Microsoft Dynamics NAV in .txt format’ in the Original Save the backup of ‘All objects of the modified database of Microsoft Dynamics NAV in .txt format’ in the Result Save the backup of ‘All Standard objects of the higher version of Microsoft Dynamics NAV to which the objects have to be migrated in .txt format’ in the Target Open Windows PowerShell ISE as administrator. Run the following commands in it and refresh PowerShell. Import-Module “C:\Program Files\Microsoft Dynamics NAV\100\Service\NavAdminTool.ps1” Import-Module “C:\Program Files (x86)\Microsoft Dynamics NAV\100\RoleTailored Client\NavModelTools.ps1” These commands help to load Dynamics NAV Cmdlets into the runspace. Fig 2: Windows Powershell ISE commands to load Microsoft Dynamics NAV Cmdlets In Windows Powershell ISE, go to Merge-NAVApplicationObject Cmdlet and enter the path of the four folders created initially i.e. Original, Modified, Result and Target folder. Fig 3: Merge-NAVApplicationObject Cmdlet Fig 4: Merge-NAVApplicationObject Cmdlet gives details of the merge process After running the Merge-NAVApplicationObject Cmdlet the Result folder will automatically be filled with all objects in .txt format. Each object file will be stored separately. Fig 5: Result folder contents Now, in order to create one .txt file by joining all the .txt files present in the Result folder, navigate to Join-NAVApplicationObjectFile Cmdlet in Windows PowerShell ISE. Enter the path of the Result folder as the Source and enter a name of the Destination as ‘Merge.txt’ Fig 6: Join-NAVApplicationObjectFile Cmdlet This will create Merge.txt file in the specified location. Fig 7: Merge.txt file created Now import the txt file into the new database of the Higher version of Microsoft Dynamics NAV. Errors if existing will be displayed during the import process and the import process will stop there. The errors have to then be rectified and the Upgradation process has to be repeated again from step 6. After all errors are rectified and conflicts are resolved, the Merge.txt will be successfully imported. Now, compile all the objects of the new database. You will have a new database with a fully application and data/code including all the modifications and customizations. Conclusion: Using the above process, modifications and customizations done in the previous version of Microsoft Dynamics NAV can be successfully migrated to the Higher version of Microsoft Dynamics NAV.
Share Story :
Creating Quality Group on Item Card using VS code in NAV 2017
Introduction: This article specifies how to add a group called ‘Quality’ in the Item Card Page using VS Code in NAV 2017. The requirement to add this group is to have all the quality related parameters for a particular item. Based on these parameters, when and what test needs to be done is decided. Quality play a very important role in case of a pharmaceutical company and these changes are done keeping in mind the pharmaceutical process. This group contains the four fields. QC Enabled Check box: The checkbox decides whether the quality test should be done or not on a particular item. Retesting Period: Retesting Period is the time span when the item will be tested again. Spec ID: The Specification ID is a look up to the page called ‘Specification Page’ which contains a list of specification which helps in deciding what test needs to be done in testing. WIP QC Enabled Checkbox:(Work In Progress) This checkbox is used to define the quality test should be done or not for a particular item, when that particular item is in WIP WIP Spec ID: The WIP(Work In Progress) Specification ID is a look up to the page called ‘Specification Page’ which contains a list of specification which helps in deciding what test needs to be done in testing when the particular item is in WIP. Prerequisites: 1. Visual studio Code (VS Code) 2. Microsoft Dynamics NAV Web client Steps: A folder is created named ‘Quality extension’. All files with extension as .al are placed here. Firstly, we create a file named ‘Itemtabext.al’ then typing the shortcut ‘ttableext’ a layout for table extension is created. We add the fields here. Here the Spec ID and WIP Spec ID have a look up to the Specification Header table field Spec ID. We create a page extension typing the shortcut ‘tpageext’ which creates the layout for page extension.The ‘Quality Section’ group is added after the Warehouse group hence we use ‘addafter’ Here QC Enabled,Restesting Period and Spec ID are mandatory fields so we set the ‘ShowMandatory’ field to True. In the No. Series Page in the web client, we specify the default number series for Specifications and look up is assigned to Quality Control Set up Page An Action is created in the Item table for calling the Specification Page and Quality Control Setup. Here the Specification No is a look up to the No. Series Code created in Step 3. Here Spec ID is manually typed and the specification name is specified in the description. We need to create a new table ‘Specification Header’ table which contains a list of specification which helps in deciding what test needs to be done in testing. In the table Specification Header, we declare variables and specify a record ‘Quality Control Setup’ and Codeunit ‘No Series Management’. On the Insert trigger of the ‘Specification Header’ table we set the created date as the work date, created by as the UserID. We declare Quality Control setup record to fetch the default number series specified in the No. Series Page. The Quality control Set up table is created which has a table relation to the ‘No. Series’ table field code and page is created which is called in the Web client through an action We create a Codeunit to Test and Validate the field and send the Item for Sampling. We then create a navx package by building it using Ctrl+Shift+B which creates the app.json and to publish our extension we use the shortcut F5 which creates the launch.json file. Here we specify the Extension name and the publisher. In the Web client in the ‘Extension Management’ Page we can view our extension We browse to the ‘Item’ page to view our output. Error faced in the previous Development preview Spec ID in the Quality group is a look up to the Specification Page which contains a list of specification which helps in deciding what test needs to be done in testing. This look up wasn’t working in the previous development preview of NAV using VS Code, this was a bug on table relation/drill down property https://github.com/Microsoft/AL/issues/39 Error resolved after the January development preview update After the Development preview January update, the bug on the Table Relation Property was resolved. Below is a screenshot attached justifying the same. Below is the screen shot of the Issues in the previous preview update which were solved in the January update.
