web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :

How to populate form data source with temp table. Dynamics 365 for finance and operations

Ali Zaidi Profile Picture Ali Zaidi 4,657

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.

Comments

*This post is locked for comments