public static string GetDimensionAutonumberingNewValue(this PXGraph graph, string dimension) { Numbering n = (PXResult <Dimension, Numbering>) PXSelectJoin <Dimension, LeftJoin <Numbering, On <Dimension.numberingID, Equal <Numbering.numberingID> > >, Where <Dimension.dimensionID, Equal <Required <Dimension.dimensionID> >, And <Numbering.userNumbering, NotEqual <True> > > > .SelectSingleBound(graph, null, dimension); return(n.With(_ => _.NewSymbol) ?? Messages.New); }