case 4069
This commit is contained in:
@@ -1680,7 +1680,7 @@ namespace AyaNova.Util
|
||||
gbiz.TaxPartSaleId = TCGoods;
|
||||
gbiz.TaxRateSaleId = TCServices;
|
||||
gbiz.CustomerAllowCSR = true;
|
||||
gbiz.CustomerAllowCreateUnit=true;
|
||||
gbiz.CustomerAllowCreateUnit = true;
|
||||
gbiz.CustomerAllowNotifyCSRAccepted = true;
|
||||
gbiz.CustomerAllowNotifyCSRRejected = true;
|
||||
gbiz.CustomerAllowNotifyServiceImminent = true;
|
||||
@@ -2550,7 +2550,7 @@ namespace AyaNova.Util
|
||||
o.Name = Fake.Finance.Account(6);
|
||||
} while (!HashPartNames.Add(o.Name));
|
||||
|
||||
|
||||
|
||||
o.Active = true;
|
||||
o.Notes = Fake.Lorem.Sentence(null, 3);
|
||||
o.Tags = RandomTags();
|
||||
@@ -3264,6 +3264,7 @@ namespace AyaNova.Util
|
||||
Created = ((DateTime)o.ServiceDate).AddMinutes(5)
|
||||
};
|
||||
o.States.Add(WoState);
|
||||
o.LastStatusId = WoState.WorkOrderStatusId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3277,6 +3278,7 @@ namespace AyaNova.Util
|
||||
Created = ((DateTime)o.ServiceDate).AddHours(1)
|
||||
};
|
||||
o.States.Add(WoState);
|
||||
o.LastStatusId = WoState.WorkOrderStatusId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3290,6 +3292,7 @@ namespace AyaNova.Util
|
||||
Created = ((DateTime)o.ServiceDate).AddHours(1).AddMinutes(5)
|
||||
};
|
||||
o.States.Add(WoState);
|
||||
o.LastStatusId = WoState.WorkOrderStatusId;
|
||||
}
|
||||
}
|
||||
if (Fake.Random.Int(1, 4) == 2)//25% chance
|
||||
@@ -4211,7 +4214,7 @@ namespace AyaNova.Util
|
||||
{
|
||||
lastUnitIndex = 0;
|
||||
}
|
||||
return l.Value[lastUnitIndex];
|
||||
return l.Value[lastUnitIndex];
|
||||
}
|
||||
|
||||
private long GetRandomCustomerId()
|
||||
|
||||
Reference in New Issue
Block a user