case 4035
This commit is contained in:
@@ -3041,19 +3041,19 @@ namespace AyaNova.Util
|
||||
};
|
||||
woItem.Parts.Add(woItemPart);
|
||||
|
||||
//PARTREQUESTS
|
||||
if (Fake.Random.Bool())//50%
|
||||
{
|
||||
var woItemPartRequest = new WorkOrderItemPartRequest()
|
||||
{
|
||||
// //PARTREQUESTS
|
||||
// if (Fake.Random.Bool())//50%
|
||||
// {
|
||||
// var woItemPartRequest = new WorkOrderItemPartRequest()
|
||||
// {
|
||||
|
||||
Quantity = 1,
|
||||
PartId = Fake.Random.Long(1, TotalSeededParts),
|
||||
PartWarehouseId = 1,
|
||||
PurchaseOrderItemId = Fake.Random.Long(1, TotalSeededPurchaseOrders)//yes it's POITEM vs po but each po has at least one item so this will work
|
||||
};
|
||||
woItem.PartRequests.Add(woItemPartRequest);
|
||||
}
|
||||
// Quantity = 1,
|
||||
// PartId = Fake.Random.Long(1, TotalSeededParts),
|
||||
// PartWarehouseId = 1,
|
||||
// PurchaseOrderItemId = Fake.Random.Long(1, TotalSeededPurchaseOrders)//yes it's POITEM vs po but each po has at least one item so this will work
|
||||
// };
|
||||
// woItem.PartRequests.Add(woItemPartRequest);
|
||||
// }
|
||||
|
||||
|
||||
//LOANERS
|
||||
|
||||
Reference in New Issue
Block a user