This commit is contained in:
@@ -9,9 +9,9 @@ namespace AyaNova.DataList
|
|||||||
{
|
{
|
||||||
DefaultListObjectType = AyaType.CustomerServiceRequest;
|
DefaultListObjectType = AyaType.CustomerServiceRequest;
|
||||||
SQLFrom = "from acustomerservicerequest left join " +
|
SQLFrom = "from acustomerservicerequest left join " +
|
||||||
"auser on (acustomerservicerequest.customerservicerequestoverseerid=auser.id) " +
|
"auser on (acustomerservicerequest.requestedbyuserid=auser.id) " +
|
||||||
"left join aunit on (acustomerservicerequest.unitid) " +
|
"left join aunit on (acustomerservicerequest.unitid) " +
|
||||||
"left join aworkorderitem as wi on (acustomerservicerequest.workorderitemid=wi.id)" +
|
"left join aworkorderitem as wi on (acustomerservicerequest.workorderitemid=wi.id) " +
|
||||||
"left join aworkorder as w on (wi.workorderid=w.id)";
|
"left join aworkorder as w on (wi.workorderid=w.id)";
|
||||||
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
|
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
|
||||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||||
@@ -140,11 +140,6 @@ namespace AyaNova.DataList
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//-----------
|
//-----------
|
||||||
|
|
||||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "CustomerServiceRequestCustom1", FieldKey = "customerservicerequestcustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "acustomerservicerequest.customfields" });
|
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "CustomerServiceRequestCustom1", FieldKey = "customerservicerequestcustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "acustomerservicerequest.customfields" });
|
||||||
|
|||||||
Reference in New Issue
Block a user