Skip to content
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

fix(netsuite): Fix possible duplicate integration resources creation #2826

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

ivannovosad
Copy link
Contributor

Context

When the Netsuite jobs that create invoices, credit note and paymetns were enqueued at the same time, they sometimes created duplicate integration resources.

Description

This PR fixes this issue by checking if the resource already exists in our DB.

@ivannovosad ivannovosad requested a review from jdenquin November 15, 2024 13:01
Copy link
Contributor

@jdenquin jdenquin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we QA this on staging before?

@ivannovosad ivannovosad merged commit c057779 into main Nov 18, 2024
6 checks passed
@ivannovosad ivannovosad deleted the fix-netsuite-duplicates branch November 18, 2024 13:29
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.

3 participants