First create a new Table “Al0VendorSearchCriteria”

- AccounNum is take from VendTable.accountNum
- StatesId is of type Int64
- Al0VendorActicivityId is of type Int64 (taken from another custom table that could be seen in my article : https://d365ffo.com/2021/07/04/ax-d365fo-create-a-simple-and-detail-tree-form/
Create a relation betewwn Al0VendorSearchCriteria and Al0Activity




Create Extended datat types for the 2 fields



Create a new form of type Simple and Details w/standard Tabs






Start create third tab

Add data source Al0VendorSearchCriteria
