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 data types for the 2 fields




Add 2 field s to the AutoIdentification Field groups

Create an extension of LogisticAddressState and add a new Filel group and name i “Al0CountryRegionId_stateId” nd add 2 fields : CountryRegionId and StateID

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






Start create third tab

Add data source Al0VendorSearchCriteria



Insert labels to the table fields

Now create a menu item to call the form


Creaete an extension of “ProcurementAndSourcing” Menu

Add Display menu item to the extension

This is the result we will obtain

This is the result we will obtain

Add a new menu item button to the “Vendor information” (VendVendorProfileCard) Form

This is the result we will obtain
