Sunday 10 December 2017

Get data objects from Data entity in AX7 & D365

Working with data entity we need to manipulate data for inserting and updating records. So for that we have to get the relevant objects (Table buffers, data sources and data entity). Below are some of the examples which we need to know in order to get the data entity objects.

1- Get data entity object:


2- On iterating of data entity data sources if we need previous data source data, we can achieve
this by this code:



3- If we need to change the database operation at run time, there are four types of operations we can use as shown below:



4- To Get or Set the table buffer:



5- Update data Source at run time:

No comments:

Post a Comment

How To: Customize BankPaymentAdviceVendV2 SSRS Report

In D365FO, there are two versions available for bank payment vendor invoices. However, in the latest version, Microsoft has made it mandator...