Hi, There are many scenario, when we do calculation and bind it with Grid in dynamics 365 for finance and operations.
For these scenario, we populate temp table at run time and bind it to form data source.
We wrote code init() initialization method of data source to bind temp table to populate.
I used following code snippet for data populate temp table based data source.
public void init() // init method of form data source.
{
Temptable temptable;
super();
tempTable.Field1= “Baba Zaidi”;
tempTable.insert();
tempTable.Field1= “Dynamics 365 Corner “;
tempTable.insert();
TempDBExampleTable.linkPhysicalTableInstance(tempTable);
}
Happy Daxing.
Small tip, but I learn it today, Again Document not create.