To handle the Customer Category records (insert, modify, delete, and select), we need to have a list page and a card page.
By using the tpage snippet, we have defined a card page (PageType = Card) and a list page (PageType = List).
The list page (Customer Category List_PKT) has an action for creating a default Customer Category record (it calls a method defined in an external codeunit because we don't want business logic on pages).
The code for the list page definition is as follows:
page 50100 "Customer Category List_PKT"{ PageType = List; SourceTable = "Customer Category_PKT"; UsageCategory = Lists; ApplicationArea = All; CardPageId = CustomerCategoryCard_PKT; Caption = 'Customer Category List'; AdditionalSearchTerms ...