private DataTable GetContactCategoryListTable(TDBTransaction AReadTransaction, string ATableName)
        {
            PPartnerAttributeCategoryRow template = new PPartnerAttributeCategoryTable().NewRowTyped(false);

            template.PartnerContactCategory = true;
            template.SystemCategory         = false;

            TSharedDataCache.TMPartner.MarkPartnerContactDetailAttributeTypesConcatStrNeedsRefreshing();
            TSharedDataCache.TMPartner.MarkEmailPartnerAttributesConcatStrNeedsRefreshing();
            TSharedDataCache.TMPartner.MarkPhonePartnerAttributesConcatStrNeedsRefreshing();

            return(PPartnerAttributeCategoryAccess.LoadUsingTemplate(template, null, null, AReadTransaction,
                                                                     StringHelper.InitStrArr(new String[] { "ORDER BY", PPartnerAttributeCategoryTable.GetIndexDBName() + " ASC" }), 0, 0));
        }
Пример #2
0
        private DataTable GetContactCategoryListTable(TDBTransaction AReadTransaction, string ATableName)
        {
            PPartnerAttributeCategoryRow template = new PPartnerAttributeCategoryTable().NewRowTyped(false);

            template.PartnerContactCategory = true;
            template.SystemCategory         = false;

            return(PPartnerAttributeCategoryAccess.LoadUsingTemplate(template, null, null, AReadTransaction,
                                                                     StringHelper.InitStrArr(new String[] { "ORDER BY", PPartnerAttributeCategoryTable.GetIndexDBName() + " ASC" }), 0, 0));
        }