-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude ended charge versions from 2PT billing (#865)
https://eaflood.atlassian.net/browse/WATER-4375 In recent testing of triggering an SROC two-part tariff bill run, we've seen errors being thrown by the `DetermineAbstractionPeriodService`. After investigating it is not the issue. It was being passed an empty charge period and this was because we're including charge versions that end before the billing period starts. This causes `DetermineChargePeriodService` to return an empty charge period. This change updates `FetchChargeVersionsService` for two-part tariff to exclude charge versions that ended before the billing period starts.
- Loading branch information
1 parent
d3a8668
commit af943d3
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters