AX 2012: Add dynalink in X++
Views (16266)
Use the following code to add dynalink to the form datasource query:
public void init()
{
super();
this.query().dataSourceTable(tableNum(MzkPurchTrackingDetailsTable)).clearDynalinks();
this.query().dataSourceTable(tableNum(MzkPurchTrackingDetailsTable)).addDynalink(
fieldNum(MzkPurchTrackingDetailsTable, PurchId),
PurchParmTable,
fieldNum(PurchParmTable, PurchId));
}
Where,
- First parameter is the source table field
- Second parameter is the destination table
- Third parameter is the destination table field
This was originally posted here.

Like
Report
*This post is locked for comments