This commit is contained in:
@@ -5,7 +5,7 @@ using AyaNova.Models;
|
||||
|
||||
namespace AyaNova.DataList
|
||||
{
|
||||
internal class PartInventoryDataList : AyaDataList, IAyaDataListServerCriteria
|
||||
internal class PartInventoryDataList : DataListBase, IDataListInternalCriteria
|
||||
{
|
||||
public PartInventoryDataList()
|
||||
{
|
||||
@@ -46,7 +46,7 @@ namespace AyaNova.DataList
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "PartPartNumber", "+" }, { "PartWarehouseName", "+" } };
|
||||
|
||||
|
||||
FieldDefinitions = new List<AyaDataListFieldDefinition>();
|
||||
FieldDefinitions = new List<DataListFieldDefinition>();
|
||||
|
||||
// FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
// {
|
||||
@@ -58,7 +58,7 @@ namespace AyaNova.DataList
|
||||
// SqlAyTypeColumnName = "vpartinventorynow.sourcetype"
|
||||
// });
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "PartPartNumber",
|
||||
FieldKey = "PartPartNumber",
|
||||
@@ -68,7 +68,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apart.partnumber"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "PartWarehouseName",
|
||||
FieldKey = "PartWarehouseName",
|
||||
@@ -78,7 +78,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apartwarehouse.name"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "PartInventoryTransactionDescription",
|
||||
FieldKey = "PartInventoryTransactionDescription",
|
||||
@@ -106,7 +106,7 @@ namespace AyaNova.DataList
|
||||
// SqlValueColumnName = "vpartinventorynow.quantity"
|
||||
// });
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "PartInventoryBalance",
|
||||
FieldKey = "PartInventoryBalance",
|
||||
@@ -115,8 +115,8 @@ namespace AyaNova.DataList
|
||||
});
|
||||
|
||||
}
|
||||
//"clientCriteria":"102074,0"
|
||||
public List<DataListFilterOption> DataListServerCriteria(long currentUserId, AuthorizationRoles userRoles, DataListBase dataListBase)
|
||||
|
||||
public List<DataListFilterOption> DataListInternalCriteria(long currentUserId, AuthorizationRoles userRoles, Models.DataListBase dataListBase)
|
||||
{
|
||||
List<DataListFilterOption> ret = new List<DataListFilterOption>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user