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
Hello,
is recommended to use Dynalink but when I try it gives me this message:
“does not contain this query method”.
help please. More details of case: https://community.dynamics.com/ax/f/33/p/251492/701410#701410