protected virtual IEnumerable GetRecords() { KCMappingMaint graph = (KCMappingMaint)_Graph; var type = graph.MappingSetupFilter.Current?.MappingEntity; var view = graph.AcumaticaFields; return(view.Select(type) .RowCast <KCAcumaticaMappingField>() .GroupBy(i => i.ViewName) .Select(i => i.First()) .ToList()); }
public KCObjectMapper() { _mappingMaint = PXGraph.CreateInstance <KCMappingMaint>(); }