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 Get Customer Free Text Invoice "Totals" form field value with X++ in D365FO

Customer free text invoices are an essential aspect of financial management in D365FO. In this blog, I have compiled all the code needed to ...