This commit is contained in:
2022-03-18 16:45:13 +00:00
parent 0d8389c685
commit 198a65fe67
6 changed files with 25 additions and 12 deletions

View File

@@ -12,8 +12,7 @@ namespace AyaNova.DataList
"left join aworkorderitemloan as wil on (aloanunit.workorderitemloanid=wil.id) " +
"left join aworkorderitem as wi on (wil.workorderitemid=wi.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(DefaultListAType);
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
DefaultColumns = new List<string>() { "LoanUnitName", "LoanUnitSerial", "LoanUnitCurrentWorkOrderItemLoan", "LoanUnitShadowUnit" };

View File

@@ -231,8 +231,7 @@ namespace AyaNova.Biz
}
private async Task ValidateCanDeleteAsync(WorkOrderItemPriority inObj)
{
//MIGRATE_OUTSTANDING - check workorder records once wo is coded here
{
await Task.CompletedTask;
//Referential integrity
//FOREIGN KEY CHECKS

View File

@@ -233,7 +233,7 @@ namespace AyaNova.Biz
private async Task ValidateCanDeleteAsync(WorkOrderItemStatus inObj)
{
//MIGRATE_OUTSTANDING - check workorder records once wo is coded here
await Task.CompletedTask;
//Referential integrity
//FOREIGN KEY CHECKS

View File

@@ -233,7 +233,7 @@ namespace AyaNova.Biz
private async Task ValidateCanDeleteAsync(WorkOrderStatus inObj)
{
//MIGRATE_OUTSTANDING - check workorder records once wo is coded here
await Task.CompletedTask;
//Referential integrity
//FOREIGN KEY CHECKS