Hi,
I have a problem using queries in Excel add-ins to export information from AX. I create a new query, for example I want to export information about Sales Invoices. So, I do a new query with these datasources:
CustInvoiceJour
-Join: CustInvoiceTrans
----Join: MarkUpTrans
----Join: InventTable
The main problem I have is that I want information from two tables, related with a single datasource (CustInvoiceTrans). I want to get the name of the product from InventTable, and want to get the MarkUpCode related to the invoice line.
No problem until here.
When I add this query into Excel, I can only drag-and-drop one of the two final datasources. When I have added one of the datasources and I try to add the other one, excel don't let me do this action so I find no way to make my info appear in excel like:
CustInvoiceJour.Invoice - CustInvoiceTrans.ItemId - CustInvoiceTrans.Qty - InventTable.NameAlias - MarkUpTrans.MarkUpCode
Another problem is when I apply any change to an existing query, for example add a new datasource. I didn't found the way to refresh the query in Excel without having to drag-and-drop all the fields again.
Any help please? Thanks.
Marc