This commit is contained in:
@@ -2,7 +2,7 @@ using System.Collections.Generic;
|
||||
using AyaNova.Biz;
|
||||
namespace AyaNova.DataList
|
||||
{
|
||||
internal class ServiceRateDataList : AyaDataList
|
||||
internal class ServiceRateDataList : DataListBase
|
||||
{
|
||||
public ServiceRateDataList()
|
||||
{
|
||||
@@ -42,9 +42,9 @@ namespace AyaNova.DataList
|
||||
DefaultColumns = new List<string>() { "Name", "Cost", "RateCharge", "RateUnitChargeDescriptionID", "Active" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "Name", "+" } };
|
||||
|
||||
FieldDefinitions = new List<AyaDataListFieldDefinition>();
|
||||
FieldDefinitions = new List<DataListFieldDefinition>();
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "Name",
|
||||
FieldKey = "Name",
|
||||
@@ -55,7 +55,7 @@ namespace AyaNova.DataList
|
||||
IsRowId = true
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceRateNotes",
|
||||
FieldKey = "ServiceRateNotes",
|
||||
@@ -63,7 +63,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicerate.notes"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "Active",
|
||||
FieldKey = "Active",
|
||||
@@ -71,7 +71,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicerate.active"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "Tags",
|
||||
FieldKey = "Tags",
|
||||
@@ -82,7 +82,7 @@ namespace AyaNova.DataList
|
||||
|
||||
//------------
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "RateAccountNumber",
|
||||
FieldKey = "RateAccountNumber",
|
||||
@@ -90,7 +90,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicerate.accountnumber"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "Cost",
|
||||
FieldKey = "Cost",
|
||||
@@ -98,7 +98,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicerate.cost"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "RateCharge",
|
||||
FieldKey = "RateCharge",
|
||||
@@ -106,7 +106,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicerate.charge"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "RateUnitChargeDescriptionID",
|
||||
FieldKey = "RateUnitChargeDescriptionID",
|
||||
@@ -116,22 +116,22 @@ namespace AyaNova.DataList
|
||||
|
||||
//-----------
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom1", FieldKey = "ServiceRatecustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom2", FieldKey = "ServiceRatecustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom3", FieldKey = "ServiceRatecustom3", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom4", FieldKey = "ServiceRatecustom4", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom5", FieldKey = "ServiceRatecustom5", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom6", FieldKey = "ServiceRatecustom6", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom7", FieldKey = "ServiceRatecustom7", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom8", FieldKey = "ServiceRatecustom8", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom9", FieldKey = "ServiceRatecustom9", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom10", FieldKey = "ServiceRatecustom10", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom11", FieldKey = "ServiceRatecustom11", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom12", FieldKey = "ServiceRatecustom12", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom13", FieldKey = "ServiceRatecustom13", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom14", FieldKey = "ServiceRatecustom14", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom15", FieldKey = "ServiceRatecustom15", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ServiceRateCustom16", FieldKey = "ServiceRatecustom16", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom1", FieldKey = "ServiceRatecustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom2", FieldKey = "ServiceRatecustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom3", FieldKey = "ServiceRatecustom3", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom4", FieldKey = "ServiceRatecustom4", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom5", FieldKey = "ServiceRatecustom5", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom6", FieldKey = "ServiceRatecustom6", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom7", FieldKey = "ServiceRatecustom7", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom8", FieldKey = "ServiceRatecustom8", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom9", FieldKey = "ServiceRatecustom9", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom10", FieldKey = "ServiceRatecustom10", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom11", FieldKey = "ServiceRatecustom11", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom12", FieldKey = "ServiceRatecustom12", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom13", FieldKey = "ServiceRatecustom13", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom14", FieldKey = "ServiceRatecustom14", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom15", FieldKey = "ServiceRatecustom15", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ServiceRateCustom16", FieldKey = "ServiceRatecustom16", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aservicerate.customfields" });
|
||||
}
|
||||
}//eoc
|
||||
}//eons
|
||||
Reference in New Issue
Block a user