Hi all
Running AX 2012 R3 CU9
I've created two tables, linked together by an auto-number sequence. I'll call them in this example XHeader and XLine, with XId tying the lines to the headers.
It's all working on the backend fine, but I'd like to create a form which can display this information in two grids - one grid which shows all the XHeader records, and a second grid which switches context to the XLines attached to that XHeader.
I created this form with the two data sources, and I thought the way to do it would be to modify the active() method to filter based on the current record's Xid. But I can't quite get it to work.
I can't seem to find any documentation for a use case like this, though there are forms like this across AX so I know there is a way of doing it.
Any help would be much appreciated
Cheers
Luke
*This post is locked for comments