Hello
I created a view in SQL
VwPL as select distinct InvoiceNo,Tax,SUM(Price) as Price from PurchaseLines group by InvoiceNo,Tax
Now I pretend : In a XML File, turning the key to it by InvoiceNo and returned one row per charge.
My problem is, I have a XML file, that uses Purchase Invoice line Record. Returns on line for each line in one Purchase Invoice Line.
What I pretend is Sum all my lines in Purchase Invoice Lines by Vat% and return only one line in My XML file.
I have doubts how to do that in Nav, so I am trying with a View, but don't know also if it is possible to link a view with Navision.
Thanks