Allow updating quantity and location for Open order if it is initiated by EBSCONET

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

Purpose/Overview:
Support https://folio-org.atlassian.net/browse/MODEBSNET-10#icft=MODEBSNET-10 : Allow updating quantity and location for Open order if it is initiated by EBSCONET

Requirements/Scope:

  1. Allow updating quantity and location for Open order if it is initiated by EBSCONET

Approach:
Based on "source" field, which in this case should be "EBSCONET", update logic

Acceptance criteria:

  • Logic updated

  • Unit tests

  • API tests

Environment

None

Potential Workaround

None

Attachments

5
  • 29 Jul 2021, 08:49 AM
  • 28 Jul 2021, 09:55 PM
  • 28 Jul 2021, 09:38 PM
  • 05 Jul 2021, 05:03 PM
  • 05 Jul 2021, 03:28 PM

has to be done before

Checklist

hide

TestRail: Results

Activity

Show:

Dennis BridgesAugust 11, 2021 at 7:28 PM

test successful in bugfest-juniper. Incomplete requirement discovered and bug created https://folio-org.atlassian.net/browse/MODEBSNET-18#icft=MODEBSNET-18

Dennis BridgesAugust 6, 2021 at 9:43 PM

 I keep getting a 500 error when testing EBSCONET integration today. Not sure if it is just a configuration issue of the test failing

Dennis BridgesAugust 3, 2021 at 3:53 PM
Edited

 I've included some examples below.

Example scenarios:

FOLIO POL physical format includes two location and total quantity of 2

Location A - 1

Location B - 1

EBSCONET update sets quantity to 3

FOLIO POL quantity updated to 3

Location A - 2

Location B - 1

 

FOLIO POL P/E Mix format includes two location and total quantity of 2

Location A - P = 1

Location B - E = 1

EBSCONET update sets quantity to 3

FOLIO POL quantity updated to P = 2 and E = 1

Location A - P = 2

Location B - E = 1

 

FOLIO POL P/E Mix format includes two location and total quantity of 2

Location A - P = 1, E =1

EBSCONET update sets quantity to 3

FOLIO POL quantity updated to P = 2 and E = 1

Location A - P = 2, E = 1

 

 

FOLIO POL Physical format includes two location and total quantity of 2

Location A - 1

Location B - 1

EBSCONET update sets quantity to 1

FOLIO POL quantity updated to 1

Location A - 1

-Location B - 1-

 

FOLIO POL P/E Mix format includes two location and total quantity of 1 P and 1 E

Location A - P = 1, E = 1

EBSCONET update sets quantity to 1

FOLIO POL quantity NOT updated

Location A - P = 1, E = 1

 

FOLIO POL P/E Mix format includes two location and total quantity of 1 P and 1 E

Location A - P = 1, E = 1

EBSCONET update sets quantity to 2

FOLIO POL quantity NOT updated

Location A - P = 1, E = 1

 

FOLIO POL P/E Mix format includes two location and total quantity of 1 P and 1 E

Location A - P = 1, E = 1

EBSCONET update sets quantity to 3

FOLIO POL quantity updated to P = 2 and E = 1

Location A - P = 2, E = 1

 

Siarhei HrabkoJuly 29, 2021 at 1:35 PM

I think yes. Quantities can be distributed accross the existing locations. But it would be great if you provide some examples just to be on the same page

Dennis BridgesJuly 29, 2021 at 12:50 PM

 could this be handled like the penny problem where we add or subtract the extra unit from the first available location?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

R2 2021 Bugfix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 8, 2021 at 12:14 PM
Updated August 11, 2021 at 7:28 PM
Resolved July 5, 2021 at 5:03 PM
TestRail: Cases
TestRail: Runs

Flag notifications