add is_qa

qa-report
usama.jameel 2025-05-26 08:59:50 +05:00
parent 83febecee7
commit 5e8ecfa9ce
1 changed files with 2 additions and 1 deletions

View File

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