Table extension 6250 Sust. Transfer Line

Sustainability, Microsoft.Sustainability.Transfer

Source AL, 171 lines

src/Apps/W1/Sustainability/app/src/Transfer/SustTransferLine.TableExt.allines 7 to 22 of 171, Copyright (c) Microsoft Corporation. MIT

tableextension 6250 "Sust. Transfer Line" extends "Transfer 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()            begin                if Rec."Sust. Account No." <> xRec."Sust. Account No." then                    ClearEmissionInformation(Rec);                if Rec."Sust. Account No." = '' then begin

All 171 lines

Fields 7 in 29

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

Public procedures 2 in 29

UpdateSustainabilityEmission(var TransferLine: Record "Transfer Line")new in 26
UpdateEmissionPerUnit(var TransferLine: Record "Transfer Line")new in 26

Extends 1

table 5741 "Transfer Line"Base Application17-29