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

RE: Summary of Query in an Infolog, based on specific field values.

$
0
0

Hi

Could you assist us with understanding what you are struggling with in specific? The requirement seems a little contrary to the way things would normally work (i.e. showing a filtered enquiry form). But the basic steps would be as below, please mention which items in specific you do not know how to accomplish:

1. Add a button to your form.

2. Override the clicked method.

3. in the Clicked method construct an X++ query using the Query and related classes including datasources for ProdTable and InventDim.

4. Add a queryRange to the InventDim table datasource created above, passing in your required value (possibly from the current selected record on your parent form.

5. Execute the query using a query run, extract the prodTable record from the query and inside your query loop and use info("") to display the details

Query reference

msdn.microsoft.com/.../aa638454.aspx;MSPPError=-2147217396


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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