This commit is contained in:
2021-01-28 18:24:27 +00:00
parent b16fc01b92
commit 0b631228b9
48 changed files with 1792 additions and 1766 deletions

View File

@@ -2,7 +2,7 @@ using System.Collections.Generic;
using AyaNova.Biz;
namespace AyaNova.DataList
{
internal class PartWarehouseDataList : AyaDataList
internal class PartWarehouseDataList : DataListBase
{
public PartWarehouseDataList()
{
@@ -35,9 +35,9 @@ namespace AyaNova.DataList
DefaultSortBy = new Dictionary<string, string>() { { "PartWarehouseName", "+" } };
FieldDefinitions = new List<AyaDataListFieldDefinition>();
FieldDefinitions = new List<DataListFieldDefinition>();
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "PartWarehouseName",
FieldKey = "PartWarehouseName",
@@ -48,7 +48,7 @@ namespace AyaNova.DataList
IsRowId = true
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "PartWarehouseNotes",
FieldKey = "PartWarehouseNotes",
@@ -56,7 +56,7 @@ namespace AyaNova.DataList
SqlValueColumnName = "apartwarehouse.notes"
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "Active",
FieldKey = "Active",
@@ -64,7 +64,7 @@ namespace AyaNova.DataList
SqlValueColumnName = "apartwarehouse.active"
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "Tags",
FieldKey = "Tags",
@@ -76,22 +76,22 @@ namespace AyaNova.DataList
//-----------
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom1", FieldKey = "partwarehousecustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom2", FieldKey = "partwarehousecustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom3", FieldKey = "partwarehousecustom3", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom4", FieldKey = "partwarehousecustom4", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom5", FieldKey = "partwarehousecustom5", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom6", FieldKey = "partwarehousecustom6", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom7", FieldKey = "partwarehousecustom7", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom8", FieldKey = "partwarehousecustom8", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom9", FieldKey = "partwarehousecustom9", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom10", FieldKey = "partwarehousecustom10", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom11", FieldKey = "partwarehousecustom11", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom12", FieldKey = "partwarehousecustom12", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom13", FieldKey = "partwarehousecustom13", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom14", FieldKey = "partwarehousecustom14", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom15", FieldKey = "partwarehousecustom15", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "PartWarehouseCustom16", FieldKey = "partwarehousecustom16", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom1", FieldKey = "partwarehousecustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom2", FieldKey = "partwarehousecustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom3", FieldKey = "partwarehousecustom3", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom4", FieldKey = "partwarehousecustom4", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom5", FieldKey = "partwarehousecustom5", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom6", FieldKey = "partwarehousecustom6", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom7", FieldKey = "partwarehousecustom7", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom8", FieldKey = "partwarehousecustom8", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom9", FieldKey = "partwarehousecustom9", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom10", FieldKey = "partwarehousecustom10", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom11", FieldKey = "partwarehousecustom11", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom12", FieldKey = "partwarehousecustom12", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom13", FieldKey = "partwarehousecustom13", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom14", FieldKey = "partwarehousecustom14", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom15", FieldKey = "partwarehousecustom15", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "PartWarehouseCustom16", FieldKey = "partwarehousecustom16", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "apartwarehouse.customfields" });
}
}//eoc
}//eons