Quantcast
Channel: Microsoft Dynamics AX
Viewing all articles
Browse latest Browse all 101540

Forum Post: RE: Linked forms off of ProdTable screens not working as documented

$
0
0
Here's what I did that seems to work. In Forms\ProdBOM, in the ProdBOM data source init() method, after the super() this.queryBuildDataSource().clearDynalinks(); Then in the linkActive() method still on the ProdBOM data source, adding the SysQuery:: line inside the existing if block void linkActive() { ReqTrans reqTrans; ; if (element.args().dataset() == tableNum(ProdTable)) { prodTable = element.args().record(); SysQuery::findOrCreateRange(this.queryBuildDataSource(), fieldNum(ProdBOM, ProdId)).value(SysQuery::value(ProdTable.ProdId)); } else { Then after the super(); in that method. this.executeQuery(); How does that work for you? Oh, and it doesn't seem to work from the list page. But, I generally find list pages to be annoyingly broken anyway, so it doesn't phase me anymore.

Viewing all articles
Browse latest Browse all 101540

Trending Articles