Skip to content

Commit

Permalink
Merge pull request #38 from hotwax/#34
Browse files Browse the repository at this point in the history
Fixed: Set statusDate correctly when recording inventory count import status change (#34).
  • Loading branch information
dixitdeepak authored Jan 10, 2025
2 parents 628d0a5 + ff368e0 commit 41a58f0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions service/InventoryCount.secas.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@

<seca id="CreateInventoryCountImport" service="create#co.hotwax.warehouse.InventoryCountImport" when="post-service" run-on-error="false">
<condition><expression>statusId</expression></condition>
<actions><service-call name="create#co.hotwax.warehouse.InvCountImportStatus" in-map="context"/></actions>
<actions>
<service-call name="create#co.hotwax.warehouse.InvCountImportStatus" in-map="context + [statusDate: ec.user.nowTimestamp]"/>
</actions>
</seca>
<seca id="UpdateInventoryCountImport" service="update#co.hotwax.warehouse.InventoryCountImport" when="post-service" run-on-error="false">
<condition><expression>statusChanged</expression></condition>
<actions><service-call name="create#co.hotwax.warehouse.InvCountImportStatus" in-map="context"/></actions>
<actions>
<service-call name="create#co.hotwax.warehouse.InvCountImportStatus" in-map="context + [statusDate: ec.user.nowTimestamp]"/>
</actions>
</seca>
<seca id="UpdateInventoryCountImportItem" service="update#co.hotwax.warehouse.InventoryCountImportItem" when="post-service" run-on-error="false">
<condition><expression>statusChanged</expression></condition>
<actions><service-call name="create#co.hotwax.warehouse.InvCountImportStatus" in-map="context"/></actions>
<actions>
<service-call name="create#co.hotwax.warehouse.InvCountImportStatus" in-map="context + [statusDate: ec.user.nowTimestamp]"/>
</actions>
</seca>
</secas>

0 comments on commit 41a58f0

Please sign in to comment.