Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

How to access form controls in data source validateWrite/write method for further ?

$
0
0

How to access form controls in data source validateWrite/write method for further ?

I have created a simple form with a grid and added 2 columns from TableA columns being A1 & A2.

I am sucessfully able to read/update/save the values from the form.

At the time of saving what i would like to do is to serialize the recordA and save it to another history table the serialized string and then continue with the save.

This will help us in having auditing for the tableA changes.

The issue i am running into is how to access the forms grid values in my datasource.

In other words we somehow need to send the values from the grid to the datasource.

Just wondering if anyone may have an example of how to do this.

Any help will be really appreciated.

Thanks

N


Viewing all articles
Browse latest Browse all 73760

Trending Articles