Skip to content

Invoice, shipping, credit memo records missing, when archive orders are restored to order management #36847

@github-jira-sync-bot

Description

@github-jira-sync-bot

ISSUE:
If an order is moved to the archive and then restored, if the ID numbers don't match, then invoice, shipping, credit memo records are missing from that order.

STEPS TO REPLICATE:

  1. Create and complete an order, including Shipping, Invoice and Credit Memo.
  2. Ensure the Shipping, Invoice and Credit memo IDs are not the same as the order number.
  3. Move the order to Archive
  4. Restore the archived order to Order Management.
  5. Check Invoice, Shipping and Credit Memo details under respective "Invoice", "Shipping"
    , "Credit Memo" - 'We couldn't find any records.'

ACTUAL RESULTS:
'We couldn't find any records.' for Shipping, Invoice and Credit Memo for restored orders if all the IDs are different.
If the order and related records have the same ID, then the records are returned.

EXPECTED RESULTS:
The original related records should be restored when the order is moved from archive list to order management.

Metadata

Metadata

Assignees

Labels

EvaluatedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions