Skip to content

fix: add EntryType and item form to stock detail reports - #137

Merged
vishwab1 merged 1 commit into
release-3.9.0from
fix/stockdetail-report-columns
Sep 25, 2026
Merged

vishwab1 merged 1 commit into
release-3.9.0from
fix/stockdetail-report-columns

Conversation

@snehar-nd

@snehar-nd snehar-nd commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

PR_StockDetail returns EntryType and item form, but the Daily Stock Details, Monthly and Yearly reports dropped them.

  • Map EntryType (col 2) and item form (col 4) into DailyStockDetails, MonthlyReport and YearlyReport as entryType / itemForm.
  • Add itemEnteredDate to YearlyReport (daily and monthly already had it).

Companion UI PR: PSMRI/Inventory-UI#181, which reorders and relabels the Excel exports to match the PR_StockDetail columns.

Testing

Not compiled locally (no Maven on the dev machine). The change adds Lombok @Data fields and their setter calls only.

🤖 Generated with Claude Code

PR_StockDetail returns EntryType and item form, but the daily stock
details, monthly and yearly reports dropped them. Map both into all
three reports, and add Item Entered Date to the yearly report.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 8b87919d-82fe-44ab-8ce2-18b5a03bbaba

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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
80.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@vishwab1
vishwab1 merged commit 3cb5480 into release-3.9.0 Sep 25, 2026
3 of 4 checks passed
drtechie pushed a commit that referenced this pull request Nov 2, 2026
* fix: update the report with strength and UOM (#135)

* fix: add EntryType and item form to stock detail reports (#137)

PR_StockDetail returns EntryType and item form, but the daily stock
details, monthly and yearly reports dropped them. Map both into all
three reports, and add Item Entered Date to the yearly report.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

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

* feat(AMM-2491): low stock and out of stock report for a store

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>

* feat(AMM-2491): StopTB laptop uploads a batch again when its stock changes

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>

* chore: set version to 3.12.0

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Vanitha S <116701245+vanitha1822@users.noreply.github.com>
Co-authored-by: SnehaRH <77656297+snehar-nd@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Vishwanath Balkur <118195001+vishwab1@users.noreply.github.com>
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.

2 participants