Table extension 6224 Sust. Gen. Journal Line

Sustainability, Microsoft.Sustainability.Journal

Source AL, 221 lines

src/Apps/W1/Sustainability/app/src/Journal/SustGenJournalLine.TableExt.allines 8 to 23 of 221, Copyright (c) Microsoft Corporation. MIT

tableextension 6224 "Sust. Gen. Journal Line" extends "Gen. Journal Line"{    fields    {        field(6214; "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                if Rec."Sust. Account No." <> xRec."Sust. Account No." then                    ClearEmissionInformation(Rec);

All 221 lines

Fields 9 in 29

6214Sust. Account No.Code[20]new in 26
6215Sust. Account NameText[100]new in 26
6216Sust. Account CategoryCode[20]new in 26
6217Sust. Account SubcategoryCode[20]new in 26
6218Total Emission CO2Decimalnew in 26
6219Total Emission CH4Decimalnew in 26
6220Total Emission N2ODecimalnew in 26
6221CO2e per UnitDecimalnew in 27
6222Total CO2eDecimalnew in 27

Public procedures 3 in 29

CheckSustGenJournalLine(GenJournalLine: Record "Gen. Journal Line")new in 26
UpdateSustainabilityEmission(var GenJournalLine: Record "Gen. Journal Line")new in 27
UpdateEmissionPerUnit(var GenJournalLine: Record "Gen. Journal Line")new in 27

All 4 procedures in 26-29

Extends 1

table 81 "Gen. Journal Line"Base Application17-29

Changes 1 in 28

List17181920212223242526272829
Fields2
Procedures21
internal IsSourceFixedAssetGLJournal(): Booleannew in 28
added

All 5 changes in 26-29