diff --git a/src/main/java/com/utopiaindustries/service/InventoryService.java b/src/main/java/com/utopiaindustries/service/InventoryService.java index 88f1045..45953dc 100644 --- a/src/main/java/com/utopiaindustries/service/InventoryService.java +++ b/src/main/java/com/utopiaindustries/service/InventoryService.java @@ -380,9 +380,10 @@ public class InventoryService { List stitchingOfflineItems = stitchingOfflineItemDAO.findByBundleId(subBundle.getId()); // create IN Transactions of Finished Items into account createTransactions(stitchingOfflineItems, accountId, InventoryArtifactType.STITCHING_OFFLINE.name()); - + Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); List updatedItems = stitchingOfflineItems.stream().map(e-> { e.setInlineReceived(true); + e.setCreatedBy(authentication.getName()); return e; }).collect(Collectors.toList());