Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



AuthorAndrei Makaranka
JIRA task

Jira Legacy
serverSystem Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyUXPROD-3619

Business Requirements

Jira Legacy
serverSystem Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyUXPROD-3619

Architects Review

Status
colourYellow
titleIn Progress

PO review

Status
colourYellow
titleIn Progress

...

Solution Design

Data Model

mod-orders

Define schema for DTO "patch_order_line_request" 

NameTypeMandatoryDefaultDescriptionNote
idUUIDYNAUnique identifier of the order line
operationenumYNAType of a partial modification[REPLACE_INSTANCE_REF]
replaceInstanceRef

replace_order_line_instance_ref

NNAReplace instance reference

Define schema for DTO "replace_order_line_instance_ref"

NameTypeMandatoryDefaultDescriptionNote
newInstanceIdUUIDYNAReference to new instance
holdingsOperation

enum

YNMOVENAHow to process connected holdings[MOVE, FIND_OR_CREATE, CREATE]
deleteAbandonedHoldingsbooleanYfalseIf abandoned holdings will be deleted

mod-orders-storage

Define schema for DTO "storage_patch_order_line_request" 

NameTypeMandatoryDefaultDescriptionNote
idUUIDYNAUnique identifier of the order line
operationenumYNAType of a partial modification[REPLACE_INSTANCE_REF]
replaceInstanceRef

storage_replace_order_line_instance_ref

NNAReplace instance reference

Define schema for DTO "storage_replace_order_line_instance_ref"

NameTypeMandatoryDefaultDescriptionNote
newInstanceIdUUIDYNAReference to new instance
holdingsarray of storage_replace_order_line_holding_refsNNAHolding references for replacement in the locations and pieces

Define schema for DTO "storage_replace_order_line_holding_refs"

NameTypeMandatoryDefaultDescriptionNote
fromHoldingIdUUIDYNAReference to previous holding
toHoldingIdUUIDYNA Reference to new holding

APIs

mod-orders-storage : Add PATCH method into ramls/

...

po-

...

line.

...

raml

Method

Path

Request

Response

Description

Interface

Notes

PATCH

/orders-storage/po-lines/{id}

storage_patch_order_line_request

NA : Status 204
Apply partial modifications to a order line

orders-storage.po-lines.item.patch

https://www.rfc-editor.org/rfc/rfc5789

mod-orders : Add PATCH method into ramls/order-lines.raml 

Method

Path

Request

Response

Description

Interface

Notes

PATCH

orders/order-lines/{id}

patch_order_line_requestNA : Status 204
Apply partial modifications to a order line
orders.order-lines.item.patchhttps://www.rfc-editor.org/rfc/rfc5789

Detailed design

Class diagram

Should be defined in the mod-orders  MODORDERS-683 (DTO : patch_order_line_request) and mod-orders-storage MODORDSTOR-298(DTO : storage_patch_order_line_request)

Sequence diagrams

Work Breakdown Structure


WorkCommentsStory~ Estimate
1


Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODORDERS-618

2
2

Implement PATCH Storage API for updating Instance Reference for Non-package order line


Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODORDSTOR-299

3
3Define new business API for updating Instance Reference for Non-package order line

Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODORDERS-683

2
34Implement edit instance connection logic of POL - create inventory set to Instance, holding or Instance, holding, item

Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODORDERS-684

3
45Implement edit instance connection logic of POL - create inventory set to Instance or none

Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODORDERS-685

3
56Define data model for supporting edit instance connection logic of POL

Jira Legacy
serverSystem Jira
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODORDSTOR-297

1

...