Hi,
I have following table with customer numbers and their products data.
Customer | Product | Product Reference |
Cust1 | P1 | |
Cust1 | P2 | |
Cust1 | P3 | |
Cust2 | P4 | |
Cust2 | P5 | |
Cust2 | P6 | |
Cust3 | P7 | |
Cust3 | P8 | |
Cust3 | P1 |
I am supposed to create a form to add 'Product Reference' data and save the record to table.
Requirement is to display a dropdown for Customer and for the selected Customer from dropdown, related Products should be displayed in a dropdown for Product. Then user will select a product from the drop down and type in a Product Reference data and saves the record.
I am able to create the drop down for Customer, but Product drop down is not filtering the product data for the selected customer. Can some one please help me on what method should I write and where to place that code? at form level or table level?
I am very new to AX Development. Appreciate your help in advance.