Source AL, 28 lines
src/Apps/W1/Sustainability/app/src/Account/SustGLAccount.TableExt.allines 5 to 20 of 28, Copyright (c) Microsoft Corporation. MIT
tableextension 6227 "Sust. G/L Account" extends "G/L Account"{ fields { field(6210; "Default Sust. Account"; Code[20]) { DataClassification = CustomerContent; TableRelation = "Sustainability Account" where("Account Type" = const(Posting), Blocked = const(false)); Caption = 'Default Sust. Account'; trigger OnValidate() var SustainabilityAccount: Record "Sustainability Account"; begin if Rec."Default Sust. Account" <> '' then begin SustainabilityAccount.Get(Rec."Default Sust. Account");
All 28 lines
Fields 1 in 29
Extends 1