Source AL, 28 lines
src/Apps/W1/Sustainability/app/src/Service/SustServShipmentItemLine.TableExt.allines 10 to 25 of 28, Copyright (c) Microsoft Corporation. MIT
tableextension 6278 "Sust. Serv. Shipment Item Line" extends "Service Shipment Item Line"{ fields { field(6210; "Total CO2e"; Decimal) { AutoFormatType = 11; AutoFormatExpression = SustainabilitySetup.GetFormat(SustainabilitySetup.FieldNo("Emission Decimal Places")); CalcFormula = sum("Service Shipment Line"."Total CO2e" where("Document No." = field("No."), "Service Item Line No." = field("Line No."))); Caption = 'Total CO2e'; Editable = false; FieldClass = FlowField; } }
All 28 lines
Fields 1 in 29
Extends 1