This commit is contained in:
@@ -2488,7 +2488,7 @@ namespace AyaNova.Util
|
||||
o.InternalReferenceNumber = "irf-" + Fake.Finance.Account(4);
|
||||
o.ServiceDate = woDate;
|
||||
|
||||
int woItemCount = Fake.Random.Int(1, 6);
|
||||
int woItemCount = Fake.Random.Int(1, 3);
|
||||
for (int y = 0; y < woItemCount; y++)
|
||||
{
|
||||
var woItem = new WorkOrderItem()
|
||||
@@ -2496,7 +2496,9 @@ namespace AyaNova.Util
|
||||
Sequence = y + 1,
|
||||
Notes = $"itemnotes - {y} ",
|
||||
TechNotes = $"technotes - {y}",
|
||||
RequestDate = woDate.AddMinutes(y)
|
||||
RequestDate = woDate.AddMinutes(y),
|
||||
WorkorderItemPriorityId=Fake.Random.Long(1, 5),//there are 5 different sample priorities
|
||||
WorkorderItemStatusId=Fake.Random.Long(1, 3)//there are 3 different sample woitem status
|
||||
};
|
||||
|
||||
//SCHEDULED USERS
|
||||
|
||||
Reference in New Issue
Block a user