I have a very simple view in AX 2012. It has one data source, and returns only one row from that table. The view has an Order By DESC specified on the same field that is being returned. There is no Group By clause.
It returns about the first 2/3 of the records in alphabetical order, then the last 2/3 also in alphabetical order, but starting over at A.
The results look something like this:
Apple,Banana,Cherry,Fig,Pear,Plum,Squash,Yam,Apricot,Blueberry,Zucchini
Tried Synchronize, Compile, CIL compile already. Tried dumping the data source and starting over. Pretty much out of ideas.
Jan: here is the View from SQL. Looks like even after I synchronize, the ORDER BY is left out.
USE [MicrosoftDynamicsAX]
GO
/****** Object: View [dbo].[MENUSVIEW] Script Date: 03/28/2014 09:57:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE VIEW [dbo].[MENUSVIEW] AS SELECT T1.TRANSACTIONNAME AS TRANSACTIONNAME,T1.PARTITION AS PARTITION,T1.RECID AS RECID FROM TRANSACTIONS T1
GO