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

            template.SystemCategory = true;

            TSharedDataCache.TMPartner.MarkSystemCategorySettingsConcatStrNeedsRefreshing();

            return(PPartnerAttributeTypeAccess.LoadViaPPartnerAttributeCategoryTemplate(template, null, null, AReadTransaction,
                                                                                        StringHelper.InitStrArr(new String[] { "ORDER BY", PPartnerAttributeTypeTable.GetTableDBName() + "." +
                                                                                                                               PPartnerAttributeTypeTable.GetIndexDBName() + " ASC" }), 0, 0));
        }
Example #2
0
        private DataTable GetContactTypeListTable(TDBTransaction AReadTransaction, string ATableName)
        {
            PPartnerAttributeCategoryRow template = new PPartnerAttributeCategoryTable().NewRowTyped(false);

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

            return(PPartnerAttributeTypeAccess.LoadViaPPartnerAttributeCategoryTemplate(template, null, null, AReadTransaction,
                                                                                        StringHelper.InitStrArr(new String[] { "ORDER BY", PPartnerAttributeTypeTable.GetTableDBName() + "." +
                                                                                                                               PPartnerAttributeTypeTable.GetIndexDBName() + " ASC" }), 0, 0));
        }