Often it is useful to be able to access the datasource field properties on a form through X++. This is essential for modifying the allowEdit property at run-time for example.
Tag: Datasource
Microsoft Dynamics Ax
Updating the caller Form/DataSource
by Bo Jensen •
If we need to notify events to the caller form we can try this pattern:
Microsoft Dynamics Ax
Axapta queries Fact
by Bo Jensen •
The query object model contains classes to define and run a query. These objects are used to define the query data source, the fields returned, record ranges and relations to child data sources. The following illustration shows the object model. DAX Blog: Axapta queries Fact
Microsoft Dynamics Ax
Dynamics Ax Dictata: Traverse grid records
by Bo Jensen •
for ( custTrans = CustTrans_DS.getFirst(); custTrans; custTrans = CustTrans_ds.getNext() ) { totalAmountMST += custTrans.AmountMST; } Dynamics Ax Dictata: Traverse grid records
Microsoft Dynamics Ax
Dynamics Ax Live: How to filter records in a form by code
by Bo Jensen •
Dynamics Ax Live: How to filter records in a form by code