Table extension 6277 Sust. Service Item Line

Sustainability, Microsoft.Sustainability.Service

Source AL, 29 lines

src/Apps/W1/Sustainability/app/src/Service/SustServiceItemLine.TableExt.allines 10 to 25 of 29, Copyright (c) Microsoft Corporation. MIT

tableextension 6277 "Sust. Service Item Line" extends "Service Item Line"{    fields    {        field(6210; "Total CO2e"; Decimal)        {            AutoFormatType = 11;            AutoFormatExpression = SustainabilitySetup.GetFormat(SustainabilitySetup.FieldNo("Emission Decimal Places"));            CalcFormula = sum("Service Line"."Total CO2e" where("Document Type" = field("Document Type"),                                                                "Document No." = field("Document No."),                                                                "Service Item Line No." = field("Line No.")));            Caption = 'Total CO2e';            Editable = false;            FieldClass = FlowField;        }    }

All 29 lines

Fields 1 in 29

6210Total CO2eDecimalnew in 28

Extends 1

table 5901 "Service Item Line"Base Application17-29