axapta - Order by Sum Field -
i try write sql-statement in x++. should this:
select table.field1, sum(table.field2) sumfield table table.fieldx = group table.field1 order sumfield;
the problem have in x++ orders records before calculating sum of them. know make while select
in x++ , order them code, not way want it.
can tell me how handle this?
sorry, cannot both sort by
, group by
in x++ select or query.
the solution make view (without sort), select on view order by.
Comments
Post a Comment