Esempio n. 1
0
        private HybridDictionary GetExclusionMap(CRMergeResult group)
        {
            var res = new HybridDictionary();

            foreach (RecordExclusion row in ItemsExclusions.Select(group.MergeID, group.LineNbr))
            {
                res.Add(row.RowId, row);
            }
            return(res);
        }
Esempio n. 2
0
        private HybridDictionary GetProptertyMap(CRMergeResult group)
        {
            var res = new HybridDictionary();

            foreach (PropertySelection row in PropertySettings.Select(group.MergeID, group.LineNbr))
            {
                res.Add(row.PropetyName, row);
            }
            return(res);
        }
Esempio n. 3
0
        private IEnumerable GetItemsByGroup(CRMergeResult group)
        {
            if (group == null)
            {
                yield break;
            }

            var exclusionMap = GetExclusionMap(group);

            //TODO: need implementation
            foreach (Contact row in PXSelect <Contact> .Select(this))
            {
                var key = row.ContactID;
                yield return(new DacBase
                {
                    Selected = !exclusionMap.Contains(key),
                    RowId = key
                });
            }
        }