This commit is contained in:
2021-04-01 21:24:22 +00:00
parent 5b54497ddf
commit 84f394f2ed
4 changed files with 15 additions and 10 deletions

View File

@@ -2220,10 +2220,18 @@ namespace AyaNova.Util
RequestDate=woDate.ToUniversalTime()
};
//add two users for testing
var woItemScheduledUser=new WorkOrderItemScheduledUser(){
UserId = Fake.Random.Long(1, TotalSeededUsers),
EstimatedQuantity=1
};
woItem.ScheduledUsers.Add(woItemScheduledUser);
woItemScheduledUser=new WorkOrderItemScheduledUser(){
UserId = Fake.Random.Long(1, TotalSeededUsers),
EstimatedQuantity=2
};
woItem.ScheduledUsers.Add(woItemScheduledUser);
o.Items.Add(woItem);
}