rename all variants of naming that hold an AyaType value to "aType" (parameter) / "AType" (not parameter) everywhere front and back; "ayType", "objectType", "oType" all are used in various areas
This commit is contained in:
@@ -14,9 +14,9 @@ namespace AyaNova.DataList
|
||||
// + "apartstocklevel.minimumquantity, vpartinventorynow.balance, COALESCE(vpartsonorder.quantityonorder,0) AS onorderquantity, "
|
||||
// + "apartstocklevel.minimumquantity - (COALESCE(vpartinventorynow.balance, 0) + COALESCE(vpartsonorder.quantityonorder, 0)) AS requiredquantity "
|
||||
|
||||
DefaultListObjectType = AyaType.PartInventoryRestock;
|
||||
DefaultListAType = AyaType.PartInventoryRestock;
|
||||
SQLFrom = "FROM vrestockrequired";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() {
|
||||
"PartPartNumber", "PartWarehouseName", "PartWholesalerID","PartAlternativeWholesalerID","PartManufacturerID", "PartByWarehouseInventoryMinStockLevel",
|
||||
@@ -30,7 +30,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "PartPartNumber",
|
||||
FieldKey = "PartPartNumber",
|
||||
AyaObjectType = (int)AyaType.Part,
|
||||
AType = (int)AyaType.Part,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "partid",
|
||||
SqlValueColumnName = "partnumber"
|
||||
@@ -40,7 +40,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "PartWarehouseName",
|
||||
FieldKey = "PartWarehouseName",
|
||||
AyaObjectType = (int)AyaType.PartWarehouse,
|
||||
AType = (int)AyaType.PartWarehouse,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "partwarehouseid",
|
||||
SqlValueColumnName = "displaywarehouse"
|
||||
@@ -51,7 +51,7 @@ namespace AyaNova.DataList
|
||||
FieldKey = "PartManufacturerID",
|
||||
TKey = "PartManufacturerID",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
AyaObjectType = (int)AyaType.Vendor,
|
||||
AType = (int)AyaType.Vendor,
|
||||
SqlIdColumnName = "manufactureid",
|
||||
SqlValueColumnName = "displaymanufacturer"
|
||||
});
|
||||
@@ -61,7 +61,7 @@ namespace AyaNova.DataList
|
||||
FieldKey = "PartWholesalerID",
|
||||
TKey = "PartWholesalerID",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
AyaObjectType = (int)AyaType.Vendor,
|
||||
AType = (int)AyaType.Vendor,
|
||||
SqlIdColumnName = "wholesalerid",
|
||||
SqlValueColumnName = "displaywholesaler"
|
||||
});
|
||||
@@ -71,7 +71,7 @@ namespace AyaNova.DataList
|
||||
FieldKey = "PartAlternativeWholesalerID",
|
||||
TKey = "PartAlternativeWholesalerID",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
AyaObjectType = (int)AyaType.Vendor,
|
||||
AType = (int)AyaType.Vendor,
|
||||
SqlIdColumnName = "alternativewholesalerid",
|
||||
SqlValueColumnName = "displayalternativewholesaler"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user