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 send bill run unflagging licences #884

Merged
merged 6 commits into from
Apr 3, 2024

Conversation

Cruikshanks
Copy link
Member

https://eaflood.atlassian.net/browse/WATER-4390

In a recent change we Migrated the legacy send bill run functionality to our service.

We thought all was well but then recently spotted an issue. When we are 'sending' a bill run (telling the CHA to generate the transaction file for SOP that results in the bills being sent to customers) we are calling our SubmitSendBillRunService which in turn is calling UnflagBilledLicencesService.

Only it shouldn't be doing this all the time. It should only be calling that service if the bill run is supplementary.

This change fixes the issue.

https://eaflood.atlassian.net/browse/WATER-4390

In a recent change we [Migrated legacy send bill run functionality](#771) to our service.

We though all was well but then recently spotted an issue. When we are 'sending' a bill run (telling the CHA to generate the transaction file for SOP that results in the bills being sent to customers) we are calling our `SubmitSendBillRunService` which in turn is calling `UnflagBilledLicencesService`.

Only it shouldn't be doing this _all_ the time. It should only be calling that service if the bill run is supplementary.

This change fixes the issue.
@Cruikshanks Cruikshanks added the bug Something isn't working label Apr 3, 2024
@Cruikshanks Cruikshanks self-assigned this Apr 3, 2024
@Cruikshanks Cruikshanks force-pushed the fix-send-unflagging-licences branch from 4bf16a6 to 4ebb4b8 Compare April 3, 2024 22:02
@Cruikshanks Cruikshanks marked this pull request as ready for review April 3, 2024 22:13
@Cruikshanks Cruikshanks merged commit 4df68e1 into main Apr 3, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the fix-send-unflagging-licences branch April 3, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant