Skip to content

Archive product on price list delete (STAM-24) #186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jopesy
Copy link
Collaborator

@jopesy jopesy commented Dec 9, 2024

Products and PricedProducts are created when a PriceList is created or edited. When a PriceList is deleted, the related PricedProduct is deleted. However, the Product was not deleted/archived. This caused issues with there being multiple Products for the same resource. Fix this by archiving the existing Product when a PriceList is deleted.

Refs STAM-24

Products and PricedProducts are created when a PriceList is created
or edited. When a PriceList is deleted, the related PricedProduct is
deleted. However, the Product was not deleted/archived. This caused
issues with there being multiple Products for the same resource. Fix
this by archiving the existing Product when a PriceList is deleted.

Refs STAM-24
@jopesy jopesy merged commit 3ab3604 into tre-varaamo-qa Dec 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants