Skip to content

CAS - Limit how far to search for invoices on Batch #4556

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

Open
2 tasks
CarlyCotton opened this issue Mar 31, 2025 · 0 comments
Open
2 tasks

CAS - Limit how far to search for invoices on Batch #4556

CarlyCotton opened this issue Mar 31, 2025 · 0 comments
Assignees
Labels
Business Items under Business Consideration

Comments

@CarlyCotton
Copy link
Collaborator

CarlyCotton commented Mar 31, 2025

User Story
As a ministry user, I only want the batch to pick up invoices from within the last 365 days. This gives a limit to how far back the system will need to look for invoices, and reduces invoices coming from across multiple calendar/fiscal years. To prevent any missed invoices a warning message should be logged so that the technical team can be aware and reach out if necessary to the Finance team (should be a small edge case).

Acceptance Criteria

Acceptance Criteria

Generated by Zenhub AI

  • Scenario: Batch only searches for invoices within the last 365 days
  • Given the batch is configured with a search limit of 365 days
  • When the batch processes invoices
  • Then it should only pick up invoices from within the last 365 days
  • Scenario: Warning message logged for edge cases
    • Given a batch process misses an invoice due to the search limit
    • When the batch completes processing
    • Then a warning message should be logged, notifying the technical team to reach out to Finance if necessary
@CarlyCotton CarlyCotton added the Business Items under Business Consideration label Mar 31, 2025
@CarlyCotton CarlyCotton self-assigned this Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Business Items under Business Consideration
Projects
None yet
Development

No branches or pull requests

1 participant