I am trying to group and count rows but am unable to.
PXResultset<GSDocSyncState> goodSel = PXSelectGroupBy<GSDocSyncState,
Where<GSDocSyncState.sFDocumentType, Equal<@P.AsString>>,
Aggregate<GroupBy<GSDocSyncState.sFDocumentType, Count<GSDocSyncState.sFDocumentID>>>>.Select(graph, type);
us.updates = goodSel.RowCount ?? 0;
What am I doing wrong?
Thanks