Kiwi : New holdingId is not saved into piece when location is changed during receiving

Description

Overview:

When a piece location is changed in the Receiving app, it works if a piece is edited, but fails to work properly if the location is changed during the receiving process. In this case, the locationId is added to the piece, but the holdingId is not updated.

Steps to Reproduce:

  1. Create order + line with a given location (createInventory = instance, holding, item)

  2. Open the order

  3. Receiving app - open the title and click on Receive button

  4. Select the line

  5. Click on "Create new holdings for location"

  6. Choose another location and click on "Save and Close"

  7. Click on Receive button

  8. After the dialog closes, click on the piece in the list

Expected Results:

The piece has the right new location.

Actual Results:

The piece displays the old location.

Additional Information:

After receiving, the piece has the new locationId but keeps the old holdingId.

The check-in request uses a null holdingId. Backend is supposed to create the holding (which it does) and save the new holdingId in the piece (which it does not).

Workaround:

Change the piece location before receiving.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1
  • 24 Nov 2021, 08:40 AM

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges November 25, 2021 at 4:27 PM

test successful in bugfest-kiwi

Oleksii Petrenko November 25, 2021 at 1:49 PM

Deployed to Kiwi BF. Please proceed with verification

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

R3 2021 Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 24, 2021 at 8:40 AM
Updated December 1, 2021 at 6:56 PM
Resolved November 24, 2021 at 11:45 AM
TestRail: Cases
TestRail: Runs

Flag notifications