This commit is contained in:
@@ -23,7 +23,7 @@ namespace AyaNova.DataList
|
||||
+ "left join aworkorderitemlabor on aworkorderitem.id=aworkorderitemlabor.workorderitemid "
|
||||
+ "left join auser on (aworkorderitemlabor.userid=auser.id) "
|
||||
+ "left join aservicerate on (aworkorderitemlabor.servicerateid=aservicerate.id) "
|
||||
|
||||
+ "left join ataxcode on (aworkorderitemlabor.taxcodesaleid=ataxcode.id) "
|
||||
;
|
||||
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
@@ -124,6 +124,17 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aworkorderitemlabor.nochargequantity"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "WorkOrderItemLaborTaxRateSaleID",
|
||||
FieldKey = "WorkOrderItemLaborTaxRateSaleID",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
AType = (int)AyaType.TaxCode,
|
||||
SqlIdColumnName = "aworkorderitemlabor.taxcodesaleid",
|
||||
SqlValueColumnName = "ataxcode.name"
|
||||
});
|
||||
|
||||
|
||||
|
||||
//META column
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
@@ -490,7 +501,7 @@ namespace AyaNova.DataList
|
||||
UiFieldDataType = (int)UiFieldDataType.DateTime,
|
||||
SqlValueColumnName = "aworkorder.closebydate"
|
||||
});
|
||||
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "WorkOrderCustom1", FieldKey = "workordercustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aworkorder.customfields", TKeySection = "WorkOrder" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "WorkOrderCustom2", FieldKey = "workordercustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aworkorder.customfields", TKeySection = "WorkOrder" });
|
||||
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "WorkOrderCustom3", FieldKey = "workordercustom3", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aworkorder.customfields", TKeySection = "WorkOrder" });
|
||||
|
||||
Reference in New Issue
Block a user