hotwax / inventory-count

HotWax Commerce Inventory Count
Apache License 2.0
16 stars 52 forks source link

0 Count for an Item Not Saved and Appears as Pending in Assigned Section #377

Closed Adameddy26 closed 1 month ago

Adameddy26 commented 2 months ago

Current behavior

The item with a 0 inventory count is not saved and appears as pending in the Assigned section.

Expected behavior

The item with a 0 inventory count should be saved correctly and should not appear as pending in the Assigned section.

Steps to reproduce the issue

Open the inventory count app and navigate to the store view screen. Open the inventory count from the assigned section. If no count is present then try to change the facility. Select an item and perform an inventory count. Enter the count value as 0. Save the inventory count. Observe that the item is not saved correctly and appears as pending in the Assigned section.

Environment details

App version : INVENTORY-COUNT-2.0-E02AD11 App environment : DEV

Additional information

https://jam.dev/c/0b405e71-1bec-4202-880b-37a2e2ba7524

Adameddy26 commented 1 month ago

@R-Sourabh Counted, counted-by field and the re-count button is not visible for the item which is counted as 0. Hence, reopening it.

Adameddy26 commented 1 month ago

@R-Sourabh Also user is able to save the negative value for the item count.

Adameddy26 commented 1 month ago

Issue verified and working fine in DEV environment of App version INVENTORY-COUNT-2.0-E3C3701 https://jam.dev/c/93ef59fb-53a2-459b-940c-874723849904 Hence, closing this ticket.