Skip to content

feat(AMM-2491): low / out-of-stock report and re-upload of changed camp stock batches - #138

Merged
vanitha1822 merged 3 commits into
release-3.12.0from
vb/stoptb-3.12.0
Oct 23, 2026
Merged

vanitha1822 merged 3 commits into
release-3.12.0from
vb/stoptb-3.12.0

Conversation

@vishwab1

Copy link
Copy Markdown
Member

📋 Description

JIRA ID:

Please provide a summary of the change and the motivation behind it. Include relevant context and details.


✅ Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 🔥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🛠 Refactor (change that is neither a fix nor a new feature)
  • ⚙️ Config change (configuration file or build script updates)
  • 📚 Documentation (updates to docs or readme)
  • 🧪 Tests (adding new or updating existing tests)
  • 🎨 UI/UX (changes that affect the user interface)
  • 🚀 Performance (improves performance)
  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

ℹ️ Additional Information

Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.

vishwab1 and others added 3 commits October 15, 2026 09:16
POST /crmReportController/getLowStockReport {facilityID}: items mapped to
the store whose usable (not expired) stock is 0, or at/below the item's
Min_Stock. Reads live stock from db_iemr, not the reporting copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…anges

On StopTB camp laptops (stoptb.enforce.vanid=true) a batch whose
QuantityInHand changes (stock adjustment, stock exit/dispense, patient return,
indent issue) is marked Processed='N', so the next upload sends its current
stock and central's camp-stock reports match the camp. Other deployments
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b1eb1f33-3e94-4b5a-bae3-5c28af7976dc
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@RequestMapping(value = "/getLowStockReport", headers = "Authorization", method = {
RequestMethod.POST }, produces = { "application/json" })
public String getLowStockReport(@RequestBody String request) {
logger.info("getLowStockReport request " + request.toString());
@vishwab1 vishwab1 changed the title Vb/stoptb 3.12.0 feat(AMM-2491): low / out-of-stock report and re-upload of changed camp stock batches Oct 21, 2026
@vanitha1822
vanitha1822 merged commit 146277a into release-3.12.0 Oct 23, 2026
2 of 4 checks passed
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