BC Experts,
I'm attempting to build out a module where we track profitability of "projects", which include multiple purchase orders and sales orders. I am building it similar to how sales headers and sales lines work, with a "Project" Table and a "ProjectLines" table.
The "Project" table has a page of type List, where I can see the project number, salesperson, customer #, etc.. I have the "ProjectNumber" field set with DrillDownPageID property set to my "ProjectCard" Page. However, when I have multiple projects, clicking on any drilldown field will always lead me to the first record of that type!
For example below, clicking the projectnumber "100456" still leads me to the card page for the "100123" project number. Please see below for my project page Code as well as a screenshot.
page 50102 Projects { PageType = List; ApplicationArea = All; UsageCategory = Lists; SourceTable = projecttable; layout { area(Content) { repeater(General) { field(ProjectNumber1; Rec.ProjectNumber) { ApplicationArea = All; DrillDownPageId = projectcard; } } //multiple fields are defined below and removed for clarity } } }