In AX2012 we are trying to get the Physical Available Quantity from InventSum to be shown at the SalesLine (in the grid) on the form SalesTable.
We've tried the solution on this URL: http://truongcongda.blogspot.se/2010/04/display-inventtory-onhand-in-sales.html, which is based on display() methods. It works, however it's too slow for us.
Since the display method was too slow we tried to join the InventSum table as a joined Data Source on the SalesTable. Our problem is that the join can't be done on two fields (ItemId + InventDim), instead it only joins on the ItemId field which results in multiple rows on the sales table for one single sales line.
Anyone have solution, hint or suggestion which we could implement without having to redesign the whole Form and also get some speed to the lookup the quantity? Unfortunately it's not ideal for us to have the quantity in a pane or any other way except on the line it self.
*This post is locked for comments