This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user