Table extension 6271 Sustainability Service Line

Sustainability, Microsoft.Sustainability.Service

Source AL, 201 lines

src/Apps/W1/Sustainability/app/src/Service/SustainabilityServiceLine.TableExt.allines 13 to 28 of 201, Copyright (c) Microsoft Corporation. MIT

tableextension 6271 "Sustainability Service Line" extends "Service Line"{    fields    {        field(6210; "Sust. Account No."; Code[20])        {            Caption = 'Sustainability Account No.';            TableRelation = "Sustainability Account" where("Account Type" = const(Posting), Blocked = const(false));            DataClassification = CustomerContent;            trigger OnValidate()            var                SustainabilityAccount: Record "Sustainability Account";            begin                Rec.TestStatusOpen();                if Rec."Sust. Account No." <> xRec."Sust. Account No." then

All 201 lines

Fields 7 in 29

6210Sust. Account No.Code[20]new in 28
6211Sust. Account NameText[100]new in 28
6212Sust. Account CategoryCode[20]new in 28
6213Sust. Account SubcategoryCode[20]new in 28
6214CO2e per UnitDecimalnew in 28
6215Total CO2eDecimalnew in 28
6216Posted Total CO2eDecimalnew in 28

Public procedures 2 in 29

UpdateSustainabilityEmission(var ServiceLine: Record "Service Line")new in 28
UpdateEmissionPerUnit(var ServiceLine: Record "Service Line")new in 28

Extends 1

table 5902 "Service Line"Base Application17-29