Skip to content

Commit

Permalink
(fix)O3-3310 Error deleting packaging unit
Browse files Browse the repository at this point in the history
  • Loading branch information
makombe committed May 28, 2024
1 parent 6c762e4 commit 8763296
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ public Result<StockSource> findStockSources(StockSourceSearchFilter filter) {
public void voidStockItemPackagingUOM(String uuid, String reason, int voidedBy) {
DbSession session = getSession();
Query query = session
.createQuery("UPDATE stockmanagement.StockItemPackagingUOM SET voided=1, dateVoided=:dateVoided, voidedBy=:voidedBy, voidReason=:reason WHERE uuid = :uuid)");
.createQuery("UPDATE stockmanagement.StockItemPackagingUOM SET voided=1, dateVoided=:dateVoided, voidedBy=:voidedBy, voidReason=:reason WHERE uuid = :uuid");
query.setParameter("uuid", uuid);
query.setDate("dateVoided", new Date());
query.setInteger("voidedBy", voidedBy);
Expand Down

0 comments on commit 8763296

Please sign in to comment.