Codeunit 6220 Sustain. Jnl. Errors Mgt.

Sustainability, Microsoft.Sustainability.Journal

Source AL, 153 lines

src/Apps/W1/Sustainability/app/src/Journal/SustainJnlErrorsMgt.Codeunit.allines 7 to 22 of 153, Copyright (c) Microsoft Corporation. MIT

codeunit 6220 "Sustain. Jnl. Errors Mgt."{    Access = Internal;    SingleInstance = true;    var        SustainabilitySetup: Record "Sustainability Setup";        TempDeletedSustJnlLine, TempSustJnlLineBeforeModify, TempSustJnlLineAfterModify : Record "Sustainability Jnl. Line" temporary;        FullBatchCheck, SustainabilitySetupRetrieved : Boolean;    procedure CollectSustJnlCheckParameters(SustainabilityJnlLine: Record "Sustainability Jnl. Line"; var ErrorHandlingParameters: Record "Error Handling Parameters")    var        TempSustJnlLine, TempxSustJnlLine : Record "Sustainability Jnl. Line" temporary;    begin        ErrorHandlingParameters."Journal Template Name" := SustainabilityJnlLine."Journal Template Name";        ErrorHandlingParameters."Journal Batch Name" := SustainabilityJnlLine."Journal Batch Name";

All 153 lines

Public procedures 9 in 29

CollectSustJnlCheckParameters(SustainabilityJnlLine: Record "Sustainability Jnl. Line"; var ErrorHandlingParameters: Record "Error Handling Parameters")new in 24
GetErrorsFromSustJnlCheckResultValues(ResultValues: List of [Text]; var TempErrorMsg: Record "Error Message" temporary; ErrorHandlingParameters: Record "Error Handling Parameters")new in 24
SetRecXRecOnModify(xRec: Record "Sustainability Jnl. Line"; Rec: Record "Sustainability Jnl. Line")new in 24
GetRecXRecOnModify(var xRec: Record "Sustainability Jnl. Line"; var Rec: Record "Sustainability Jnl. Line"): Booleannew in 24
SetFullBatchCheck(NewFullBatchCheck: Boolean)new in 24
GetFullBatchCheck(): Booleannew in 24

All 9 procedures