Skip to content

Commit

Permalink
Improved: Passed uploadedByUserLogin and createdDate while creating c…
Browse files Browse the repository at this point in the history
…ycle count (#34).
  • Loading branch information
ravilodhi committed Dec 26, 2024
1 parent ac80f88 commit 0bfa7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/co/hotwax/cycleCount/InventoryCountServices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@
<set field="inventoryCountImportId" from="inventoryCountImports?.first?.inventoryCountImportId"/>

<if condition="!inventoryCountImportId">
<service-call name="co.hotwax.cycleCount.InventoryCountServices.create#InventoryCountImport"
in-map="context + [statusId: statusId ? statusId : 'INV_COUNT_CREATED']"
<service-call name="create#co.hotwax.warehouse.InventoryCountImport"
in-map="context + [statusId: statusId ? statusId : 'INV_COUNT_CREATED', uploadedByUserLogin: ec.user.getUsername(), createdDate: ec.user.nowTimestamp]"
out-map="result"/>
<set field="inventoryCountImportId" from="result.inventoryCountImportId"/>
</if>
Expand Down

0 comments on commit 0bfa7d3

Please sign in to comment.