Skip to content

Commit

Permalink
Modernize Excel Layout - Emission Per Facility (#28139)
Browse files Browse the repository at this point in the history
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to AlAppExtensions please read our pull request guideline
below
* https://github.com/microsoft/ALAppExtensions/blob/main/CONTRIBUTING.md
-->
#### Summary <!-- Provide a general summary of your changes -->
Modernize Excel Layout - Emission Per Facility

![image](https://github.com/user-attachments/assets/1e806fbf-421f-403a-9b06-2d2f314bde65)

![image](https://github.com/user-attachments/assets/092b1ee4-82d3-439d-bc81-073b19b07426)

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes #28138

[AB#567031](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/567031)

---------

Co-authored-by: Dan Williams <[email protected]>
  • Loading branch information
shuyusheng and Dan Williams authored Mar 3, 2025
1 parent 317c43a commit 8ffb839
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ report 6211 "Emission Per Facility"
column(PeriodFilter; StrSubstNo(PeriodLbl, SustLedgDateFilter))
{
}
column(SustLedgDateFilter; SustLedgDateFilter)
{
}
column(CompanyName; CompanyProperty.DisplayName())
{
}
Expand Down Expand Up @@ -111,10 +114,11 @@ report 6211 "Emission Per Facility"
labels
{
EmissionPerFacility = 'Emission Per Facility';
EmissionPerFacilityPrint = 'Emission Per Facility (Print)', MaxLength = 31, Comment = 'Excel worksheet name.';
PageCaption = 'Page';
EmissionsByRespCenter = 'Emissions by R. C.';
AverageByScopeAndRC = 'Average by Scope and R. C.';
AverageByAccountAndRC = 'Average by Account and R. C.';
EmissionsByRespCenter = 'Emissions by R. C.', MaxLength = 31, Comment = 'Excel worksheet name.';
AverageByScopeAndRC = 'Average by Scope and R. C.', MaxLength = 31, Comment = 'Excel worksheet name.';
AverageByAccountAndRC = 'Average by Account and R. C.', MaxLength = 31, Comment = 'Excel worksheet name.';
CompName = 'Company Name';
CountryRegionCode = 'Country/Region Code';
EmissionByRespCenter = 'Emissions by Responsibility Center';
Expand All @@ -127,6 +131,15 @@ report 6211 "Emission Per Facility"
AverageOfEmission_CH4 = 'Average of Emission CH4';
AverageOfEmission_N2O = 'Average of Emission N2O';
AccountName = 'Account Name';
DataRetrieved = 'Data retrieved:';
// About the report labels
AboutTheReportLabel = 'About the report', MaxLength = 31, Comment = 'Excel worksheet name.';
EnvironmentLabel = 'Environment';
CompanyLabel = 'Company';
UserLabel = 'User';
RunOnLabel = 'Run on';
ReportNameLabel = 'Report name';
DocumentationLabel = 'Documentation';
}

trigger OnPreReport()
Expand Down
Binary file not shown.

0 comments on commit 8ffb839

Please sign in to comment.