Показать сообщение отдельно
Старый 21.06.2019, 19:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
alirazazaidi: How to populate form data source with temp table. Dynamics 365 for finance and operations
Источник: https://www.tech.alirazazaidi.com/ho...nd-operations/
==============

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.



Источник: https://www.tech.alirazazaidi.com/ho...nd-operations/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.