Create migration script to populate searchLocationIds

Description

Purpose/overview:

We introduced new array searchLocationIds(in scope of MODORDERS-1085 ) and need to write a migration script to populate it from POL locations->locationId values and also call migration from mod-inventory-storage to get holdings from POL locations->holdingId and additionally populate searchLocationIds with holding->permanentLocationId.

Acceptance criteria:

  • new migration script is introduced to copy POL locations->locationId into POL->searchLocationIds

  • migration script calls mod-inventory-storage to find holdings by locations->holdingId, get permanentLocationId and populate POL->searchLocationIds with this field

  • existing POL locations object is not modified in scope of this script

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:

Serhii_Nosko September 17, 2024 at 7:55 AM

Duplicate

Details

Assignee

Reporter

Priority

Development Team

Thunderjet

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 15, 2024 at 5:23 AM
Updated September 17, 2024 at 7:55 AM
Resolved September 17, 2024 at 7:55 AM
TestRail: Cases
TestRail: Runs