最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

如何使用临时表填充窗体数据源。Dynamics 365用于财务和运营 / How to populate form data source with temp table. Dynamics 365 for finance and operations

网络文摘 alirazazaidi 1417浏览 0评论
嗨,有许多场景,当我们进行计算并将其与Grid中的Grid绑定以用于财务和运营。 对于这些场景,我们在运行时填充临时表并将其绑定到表单数据源。 我们编写了代码init()数据源初始化方法来绑定临时表来填充。 我使用以下代码片段来填充基于临时表的数据源。 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.
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址