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());
        }
Exemple #2
0
 public KCObjectMapper()
 {
     _mappingMaint = PXGraph.CreateInstance <KCMappingMaint>();
 }