Skip to content

[Master] - Bug 641222: Sustainability - Show CO2e per unit on Item Journal line#9563

Draft
v-rohangarg20 wants to merge 1 commit into
mainfrom
bugs/Bug-641222-Show-CO2e-per-Unit-on-Item-Journal
Draft

[Master] - Bug 641222: Sustainability - Show CO2e per unit on Item Journal line#9563
v-rohangarg20 wants to merge 1 commit into
mainfrom
bugs/Bug-641222-Show-CO2e-per-Unit-on-Item-Journal

Conversation

@v-rohangarg20

@v-rohangarg20 v-rohangarg20 commented Jul 17, 2026

Copy link
Copy Markdown

Workitem Bug 641222: [Sustainability] Item Journal line shows only Total CO2e; CO2e per Unit is not visible/editable without Page Inspector

Fixes AB#641222

Issue: On the Item Journal, only "Total CO2e" was shown on the line. The "CO2e per Unit" value could not be seen or edited from the page — users had to open Page Inspector to view/change it, making per‑unit emission entry impractical.

Cause: The "CO2e per Unit" field (field 6217 on the Item Journal Line) existed on the table and was fully functional (with its own OnValidate that recalculates Total CO2e), but it was never added to the "Sust. Item Journal" page extension layout. Only "Total CO2e" had a control.

Solution: Added a "CO2e per Unit" field control to the "Sust. Item Journal" page extension, placed just before "Total CO2e". It reuses the existing SustainabilityVisible visibility toggle and Basic, Suite application area, so it appears (and is editable) only when value chain tracking is enabled — consistent with the other sustainability fields. Editing it now drives the existing Total CO2e recalculation directly from the journal, with no need for Page Inspector.

@github-actions github-actions Bot added AL: Apps (W1) Add-on apps for W1 Finance GitHub request for Finance area labels Jul 17, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 Finance GitHub request for Finance area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant