Codeunit 114 Empl. Entry-Edit

Base Application, Microsoft.HumanResources.Payables

Source AL, 43 lines

src/Layers/W1/BaseApp/HumanResources/Payables/EmplEntryEdit.Codeunit.allines 7 to 22 of 43, Copyright (c) Microsoft Corporation. MIT

codeunit 114 "Empl. Entry-Edit"{    Permissions = TableData "Employee Ledger Entry" = rm,                  TableData "Detailed Employee Ledger Entry" = rm;    TableNo = "Employee Ledger Entry";    trigger OnRun()    begin        EmplLedgEntry := Rec;        EmplLedgEntry.LockTable();        EmplLedgEntry.Find();        if EmplLedgEntry.Open then begin            EmplLedgEntry."Applies-to ID" := Rec."Applies-to ID";            EmplLedgEntry.Validate("Payment Method Code", Rec."Payment Method Code");            EmplLedgEntry.Validate("Amount to Apply", Rec."Amount to Apply");            EmplLedgEntry.Validate("Applying Entry", Rec."Applying Entry");

All 43 lines

Events 1 in 29

[IntegrationEvent] OnBeforeEmplLedgEntryModify(var EmplLedgEntry: Record "Employee Ledger Entry"; FromEmplLedgEntry: Record "Employee Ledger Entry")17-29