Friday, December 21, 2018

Create new fields in standard table in business central 365 through AL VS code


Hello All,

Greeting!!

Hope you are well.


In previous post, we have covered first “Hello world” application in BC 365.
Now we will create extension here we will add new fields in standard table for this we need go to command palette and open workspace to add a new folder, this will also add two JSON files as explained in previous post i.e. app.json and launch.json.
If system does not create app.json file then you can create yourself by “Generate manifest”.
In addition, make sure to download symbol through command palette.











After that we create a new file with “Sales Header – Ext.al” file to create Sales Header table extension as per below screen shot. We did not get any problem or error in console.














So we will publish it after adding this fields to Sales order page. Now let’s create page extension, create a new field with “Sales Header page – Ext.al”.  


Now we are ready to publish our extension. After publish extension .app file will be created.
Let’s check on RTC that how our field look like on sales order page














In next post, we will how to add new table and pages.

Thanks.

No comments:

Post a Comment

How to Call an external API from NAV C/AL code

Hello All, Greetings! Hope you all are well. This post will cover how to consume external SOAP API and for this, we would u...