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

Is it possible to add form parts to a form that has InMemory data sources as the primary data source?

$
0
0

I think I know the answer to this question but I want someone who is more experienced and smarter than I am to confirm this.

I have a form that has two grids on it--one for supply and one for demand. Because we are running MRP daily and adding sales orders, we generate the data for the two grids into two InMemory temp tables--SupplyTmp and DemandTmp.

I have been asked to streamline this form so that only the most necessary data appears in the grid. But I was asked to add factboxes to the form to display some data that is tangential to the supply and demand equation, but useful for planning. Unfortunately none of the data is in a table that we could easily try to link as an Info Part, so I was forced to create Form Parts for all of the factboxes I was asked to add. Following how the Purchase Totals Summary part works in AX, I created new tables and new forms as well as controllers to populate the data. When I open the form, the data for the tables does get created--I verified it through the debugger and looked at the tables via the table browser after opening the form, but the data does not display in the parts. When I wired the parts into the form, I joined them against the DemandTmp or SupplyTmp record id, but the data does not display. The part tables do have relationships defined with their source tables, but I have a feeling that because the source tables are InMemory tables, this isn't going to work, although there is nothing in the documentation that says there is a prohibition on this.

Thanks.

Brandt


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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