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

X++ client and server Keywords Deprecated in D365 F&O 10.0.50

Microsoft is continuing to modernize the X++ language in Dynamics 365 Finance & Operations by removing legacy concepts that are no longe...