Skip to content

Commit

Permalink
Clear Include In SROC supp. billing flag on send
Browse files Browse the repository at this point in the history
https://eaflood.atlassian.net/browse/WATER-3948

We have an issue that the current `include_in_supplementary_billing` was added at a time there was only 1 charge scheme. A licence gets flagged irrespective of whether the change relates to PRESROC or SROC.

Where that has impacted us is when sending a billing batch. When it gets sent it clears the flag for _all_ licences included. But if we cancel one, for example, the PRESROC bill run, and send the SROC one we lose which licences still need to be processed on the PRESROC one.

Our solution was to add a new `include_in_sroc_supplementary_billing` flag to the `licences` table in [Add SROC include in supplementary billing flag](#2077). That also covered setting the new flag when a new charge version is approved. We now need to handle clearing the flag when the SROC bill run is 'sent'.
  • Loading branch information
Cruikshanks committed Mar 28, 2023
1 parent 625ab1e commit f4a2870
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit f4a2870

Please sign in to comment.