CHALLENGE #5 - Classify your Customers (LEVEL 1)

Scenario

Add a field to classify your customers in Inactive, Bronze, Silver, Gold customers.

To complete this challenge, you will need

  • A Dynamics 365 Business Central Sandbox Environment
  • Visual Studio Code with the AL Extension installed
    • Azure VMs will have VS Code pre-installed

Expected result

Steps

  • Create an empty app
  • Create a table extension for the customer table and add an option field
  • Create a page extension for the customer card and add the field

Hints

  • In VS Code, use Ctrl+Shift+P and type AL GO and remove the customerlist page extension
  • Use the ttableext, and the tfieldoption snippet
  • Use the tpageext and the tpagefield snippet

Cheat sheets

 

Happy coding

Freddy Kristiansen
Technical Evangelist

Passwords: Vyze0758, Qazo1497, Velu5958