This commit is contained in:
@@ -2569,6 +2569,21 @@ namespace AyaNova.Util
|
||||
WorkorderItemStatusId = Fake.Random.Long(1, 3)//there are 3 different sample woitem status
|
||||
};
|
||||
|
||||
//UNITS
|
||||
var woItemUnit = new WorkOrderItemUnit()
|
||||
{
|
||||
UnitId = Fake.Random.Long(1, TotalSeededUnits),
|
||||
Notes = Fake.Lorem.Sentence()
|
||||
};
|
||||
woItem.Units.Add(woItemUnit);
|
||||
|
||||
woItemUnit = new WorkOrderItemUnit()
|
||||
{
|
||||
UnitId = Fake.Random.Long(1, TotalSeededUnits),
|
||||
Notes = Fake.Lorem.Sentence()
|
||||
};
|
||||
woItem.Units.Add(woItemUnit);
|
||||
|
||||
//SCHEDULED USERS
|
||||
var woItemScheduledUser = new WorkOrderItemScheduledUser()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user