Skip to content

[BOM Improvements] - Link Materials to RR on Submission #3890

@wavehassman

Description

@wavehassman

Description

When a Reimbursement Request is submitted, automatically link any selected materials to the RR and update their status to "Ready to Order".

Acceptance Criteria

  • When RR is created/submitted, for each product that has a materialId:
    - Update the material's reimbursementRequestId to the created RR's ID
    - Update the material's status to "READY_TO_ORDER"

  • Multiple materials can be linked to the same RR (multiple products)

  • Materials without a linked RR product remain unchanged

  • Non-project products (string-based) are not affected

  • Changes are transactional - if RR creation fails, material updates are rolled back

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions