Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

What technique's can I apply to make a Display Method selectable in the grid?

$
0
0

Often users are referencing display methods and the need to have them filterable in the grid. In most cases an advance filter can work around this. I have one case where this doesn't work at all.

In the form WHSReleaseToWarehouse there is a field named displayQtyLeftToReleaseDelta which is a display method.

It relies on the datasource WHSInventTransSumDimSO which is a view named WHSInventTransSumDim

The view WHSInventTransSumDim is based on InventTrans table.

The method displayQtyLeftToReleaseDelta returns the quantity from a static method named WHSTmpReleaseToWarehouse::calcQtyLeftToReleaseDelta

The WHSTmpReleaseToWarehouse temp table is always empty when I open it in the table browser. This is where it seems AX populates it in memory only.

So that is a very basic break down of the display method without drilling any further to what is going on beyond calcQtyLeftToReleaseDelta.

I know a new data source will need to be added to the WHSReleaseToWarehouse form but the way I've been going about it is producing incorrect quantity values.

What is the best way to take the data returned from that display method to be filterable in the grid?

Any feedback is appreciated.


Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>