This commit is contained in:
2021-01-06 16:24:35 +00:00
parent 6ddaa489aa
commit 51059a1f31
2 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,8 @@ namespace AyaNova.DataList
"left join aworkorderitemloan as wil on (aloanunit.workorderitemloanid=wil.id) " + "left join aworkorderitemloan as wil on (aloanunit.workorderitemloanid=wil.id) " +
"left join aworkorderitem as wi on (wil.workorderitemid=wi.id)" + "left join aworkorderitem as wi on (wil.workorderitemid=wi.id)" +
"left join aworkorder as w on (wi.workorderid=w.id)"; "left join aworkorder as w on (wi.workorderid=w.id)";
//MIGRATE_OUTSTANDING awaiting workorderitemloan coding
//todo: look at loanitemlist in v7 it surfaces due date, out date etc in the list and should here too once those fields are coded for
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType); var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change; AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
@@ -152,7 +153,7 @@ namespace AyaNova.DataList
SqlValueColumnName = "aloanunit.defaultrate" SqlValueColumnName = "aloanunit.defaultrate"
}); });
FieldDefinitions.Add(new AyaDataListFieldDefinition FieldDefinitions.Add(new AyaDataListFieldDefinition
{ {
FieldKey = "LoanUnitShadowUnit", FieldKey = "LoanUnitShadowUnit",
TKey = "LoanUnitShadowUnit", TKey = "LoanUnitShadowUnit",

View File

@@ -25,6 +25,7 @@ namespace AyaNova.Models
public List<string> Tags { get; set; } public List<string> Tags { get; set; }
public string Serial { get; set; } public string Serial { get; set; }
//MIGRATE_OUTSTANDING this needs to be set in migrate v8 once workorderitemloan is coded and importable
public long? WorkOrderItemLoanId { get; set; }//deliberately named for efcore relationship magic public long? WorkOrderItemLoanId { get; set; }//deliberately named for efcore relationship magic
[Required] [Required]