Table 6221 Sustainability Goal Cue

Sustainability, Microsoft.Sustainability.RoleCenters

Source AL, 165 lines

src/Apps/W1/Sustainability/app/src/RoleCenters/SustainabilityGoalCue.Table.allines 5 to 20 of 165, Copyright (c) Microsoft Corporation. MIT

table 6221 "Sustainability Goal Cue"{    Caption = 'Sustainability Goal Cue';    DataClassification = CustomerContent;    fields    {        field(1; "Primary Key"; Code[10])        {            Caption = 'Primary Key';        }        field(2; "Realized % for CO2"; Decimal)        {            AutoFormatType = 0;            Caption = 'Realized % for CO2';            Editable = false;

All 165 lines

Fields 13 in 29

1Primary KeyCode[10]new in 25
2Realized % for CO2Decimalnew in 25
3Realized % for CH4Decimalnew in 25
4Realized % for N2ODecimalnew in 25
5CO2 % vs BaselineDecimalnew in 25
6CH4 % vs BaselineDecimalnew in 25
7N2O % vs BaselineDecimalnew in 25
10Realized % for WaterDecimalnew in 27
11Realized % for WasteDecimalnew in 27

All 13 fields

Trigger events 10

OnBeforeInsertEvent(var Rec: Record "Sustainability Goal Cue"; RunTrigger: Boolean)
OnAfterInsertEvent(var Rec: Record "Sustainability Goal Cue"; RunTrigger: Boolean)
OnBeforeModifyEvent(var Rec: Record "Sustainability Goal Cue"; var xRec: Record "Sustainability Goal Cue"; RunTrigger: Boolean)
OnAfterModifyEvent(var Rec: Record "Sustainability Goal Cue"; var xRec: Record "Sustainability Goal Cue"; RunTrigger: Boolean)
OnBeforeDeleteEvent(var Rec: Record "Sustainability Goal Cue"; RunTrigger: Boolean)
OnAfterDeleteEvent(var Rec: Record "Sustainability Goal Cue"; RunTrigger: Boolean)
OnBeforeRenameEvent(var Rec: Record "Sustainability Goal Cue"; var xRec: Record "Sustainability Goal Cue"; RunTrigger: Boolean)
OnAfterRenameEvent(var Rec: Record "Sustainability Goal Cue"; var xRec: Record "Sustainability Goal Cue"; RunTrigger: Boolean)
OnBeforeValidateEvent(var Rec: Record "Sustainability Goal Cue"; var xRec: Record "Sustainability Goal Cue"; CurrFieldNo: Integer)
per field, ElementName: field name
OnAfterValidateEvent(var Rec: Record "Sustainability Goal Cue"; var xRec: Record "Sustainability Goal Cue"; CurrFieldNo: Integer)
per field, ElementName: field name

Changes 7 in 27

List17181920212223242526272829
Fields4
Procedures3
field(10; "Realized % for Water"; Decimal)new in 27
added
field(11; "Realized % for Waste"; Decimal)new in 27
added
field(12; "Water % vs Baseline"; Decimal)new in 27
added
field(13; "Waste % vs Baseline"; Decimal)new in 27
added
internal ShowMainSustainabilityGoal()new in 27
added
internal GetRealizedPerForEmissionStyle(EmissionGas: Text; EmissionValue: Decimal): Textnew in 27
added

All 7 changes in 25-29