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:
2021-03-23 17:06:05 +00:00
parent dfef3f7934
commit dde1b8bb8c
113 changed files with 450 additions and 450 deletions

View File

@@ -6,13 +6,13 @@ namespace AyaNova.DataList
{
public PurchaseOrderDataList()
{
DefaultListObjectType = AyaType.PurchaseOrder;
DefaultListAType = AyaType.PurchaseOrder;
SQLFrom = "from apurchaseorder " +
"left join avendor on (apurchaseorder.vendorid=avendor.id)" +
"left join acustomer on (apurchaseorder.dropshiptocustomerid=acustomer.id)" +
"left join aproject on (apurchaseorder.projectid=aproject.id)";
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
DefaultColumns = new List<string>() { "PurchaseOrderPONumber", "Vendor", "PurchaseOrderOrderedDate", "PurchaseOrderStatus",
"PurchaseOrderExpectedReceiveDate" };
@@ -23,7 +23,7 @@ namespace AyaNova.DataList
{
TKey = "PurchaseOrderPONumber",
FieldKey = "PurchaseOrderPONumber",
AyaObjectType = (int)AyaType.PurchaseOrder,
AType = (int)AyaType.PurchaseOrder,
UiFieldDataType = (int)UiFieldDataType.Integer,
SqlIdColumnName = "apurchaseorder.id",
SqlValueColumnName = "apurchaseorder.serial",
@@ -59,7 +59,7 @@ namespace AyaNova.DataList
FieldKey = "PurchaseOrderDropShipToCustomerID",
TKey = "PurchaseOrderDropShipToCustomerID",
UiFieldDataType = (int)UiFieldDataType.Text,
AyaObjectType = (int)AyaType.User,
AType = (int)AyaType.User,
SqlIdColumnName = "acustomer.id",
SqlValueColumnName = "acustomer.name"
});
@@ -77,7 +77,7 @@ namespace AyaNova.DataList
FieldKey = "Vendor",
TKey = "Vendor",
UiFieldDataType = (int)UiFieldDataType.Text,
AyaObjectType = (int)AyaType.User,
AType = (int)AyaType.User,
SqlIdColumnName = "avendor.id",
SqlValueColumnName = "avendor.name"
});
@@ -112,7 +112,7 @@ namespace AyaNova.DataList
FieldKey = "Project",
TKey = "Project",
UiFieldDataType = (int)UiFieldDataType.Text,
AyaObjectType = (int)AyaType.User,
AType = (int)AyaType.User,
SqlIdColumnName = "aproject.id",
SqlValueColumnName = "aproject.name"
});