add is_qa
parent
83febecee7
commit
5e8ecfa9ce
|
@ -532,6 +532,7 @@ public class InventoryService {
|
||||||
long fromAccount = lastInvTransaction.getAccountId();
|
long fromAccount = lastInvTransaction.getAccountId();
|
||||||
createInventoryTransactionLeg(transaction, preCreatedItem, fromAccount, InventoryTransactionLeg.Type.OUT.name(), InventoryArtifactType.FINISHED_ITEM.name());
|
createInventoryTransactionLeg(transaction, preCreatedItem, fromAccount, InventoryTransactionLeg.Type.OUT.name(), InventoryArtifactType.FINISHED_ITEM.name());
|
||||||
}
|
}
|
||||||
|
stitchingOfflineItem.setIsQa(true);
|
||||||
preCreatedItem.setIsQa(true);
|
preCreatedItem.setIsQa(true);
|
||||||
finishedItemsForUlter.add(preCreatedItem);
|
finishedItemsForUlter.add(preCreatedItem);
|
||||||
// create IN in finishing Account Finished Item
|
// create IN in finishing Account Finished Item
|
||||||
|
@ -543,8 +544,8 @@ public class InventoryService {
|
||||||
preCreatedItem.setIsQa(false);
|
preCreatedItem.setIsQa(false);
|
||||||
finishedItemsForUlter.add(preCreatedItem);
|
finishedItemsForUlter.add(preCreatedItem);
|
||||||
}
|
}
|
||||||
|
stitchingOfflineItem.setIsQa(false);
|
||||||
}
|
}
|
||||||
stitchingOfflineItem.setIsQa(false);
|
|
||||||
stitchingOfflineItem.setQaStatus(qaStatus);
|
stitchingOfflineItem.setQaStatus(qaStatus);
|
||||||
stitchingOfflineItem.setQcDoneAt(LocalDateTime.now());
|
stitchingOfflineItem.setQcDoneAt(LocalDateTime.now());
|
||||||
updatedStitchedItems.add(stitchingOfflineItem);
|
updatedStitchedItems.add(stitchingOfflineItem);
|
||||||
|
|
Loading…
Reference in New Issue