Create Table In Business Central

1)      In VS Code Click on Folder Icon and enter Folder Name for Example (Tables)

As We Show in this Picture

1st is Folder Icon

2nd Insert Folder Name




After Insert the Name Click Enter button

2)      Click on the Folder Name and then Select File Icon and then enter File Name

d   1st is File Icon

     2nd in insert File Name

1s

After Insert the File Name add .al end of the File Name That’s was Important. If we not enter .al then AL language not work and any AL Table/Pages/Codeunits/Query not show. After enter the Name Click Enter Key and show empty Page. As we show in this Picture

 


3)      In empty Page enter Key tt and show dropdown select ttable first option

As we show in this Image

When we Select ttable then a Table show and enter we releted ID, Table Name, Fields and Primary Key



4)      In Keys Area Add your Fields that’s you want make Primary Key.



5)      Enter Primary key that was your Field. In Keys Area replace Myfield name with  your any Fields.

As we show in this Image



6)      After Enter these Releted ID, Table Name, Fields and Primary Key then Save this File Click ctrl+S