Codeunit 1531 Workflow Change Rec Mgt.

Base Application, System.Automation

Source AL, 160 lines

src/Layers/W1/BaseApp/System/Workflow/WorkflowChangeRecMgt.Codeunit.allines 3 to 18 of 160, Copyright (c) Microsoft Corporation. MIT

codeunit 1531 "Workflow Change Rec Mgt."{    Permissions = TableData "Workflow - Record Change" = rimd;    trigger OnRun()    begin    end;    var        ValueMismatchMsg: Label 'The current value of the field is different from the value before the change.';        NoRecordChangesFoundMsg: Label 'No record changes exist to apply the saved values to using the current options.';    procedure RevertValueForField(var Variant: Variant; xVariant: Variant; WorkflowStepInstance: Record "Workflow Step Instance")    var        WorkflowStepArgument: Record "Workflow Step Argument";        WorkflowRecordChange: Record "Workflow - Record Change";

All 160 lines

Public procedures 3 in 29

RevertValueForField(var Variant: Variant; xVariant: Variant; WorkflowStepInstance: Record "Workflow Step Instance")17-29
ApplyNewValues(Variant: Variant; WorkflowStepInstance: Record "Workflow Step Instance")17-29
DiscardNewValues(Variant: Variant; WorkflowStepInstance: Record "Workflow Step Instance")17-29