Codeunit 18126366 EOS Emp Absence Event Handlers

Codeunit 18126366 EOS Emp Absence Event Handlers

Methods

AddSendAbsenceLineForApprovalToLibrary

procedure AddSendAbsenceLineForApprovalToLibrary()

AddCancelAbsenceLineApprovalRequestToLibrary

procedure AddCancelAbsenceLineApprovalRequestToLibrary()

RunWorkflowOnSendAbsenceLineForApproval

procedure RunWorkflowOnSendAbsenceLineForApproval(var EmployeeAbsence: Record "Employee Absence")

Parameters / Return Value

  • EmployeeAbsence Record "Employee Absence"

RunWorkflowOnCancelAbsenceLineApprovalRequest

procedure RunWorkflowOnCancelAbsenceLineApprovalRequest(var EmployeeAbsence: Record "Employee Absence")

Parameters / Return Value

  • EmployeeAbsence Record "Employee Absence"

RunNotificationOnApproveApprovalRequest

procedure RunNotificationOnApproveApprovalRequest(var ApprovalEntry: Record "Approval Entry")

Parameters / Return Value

  • ApprovalEntry Record "Approval Entry"

RunNotificationOnDelegateApprovalRequest

procedure RunNotificationOnDelegateApprovalRequest(var ApprovalEntry: Record "Approval Entry")

Parameters / Return Value

  • ApprovalEntry Record "Approval Entry"

RunNotificationOnRejectApprovalRequest

procedure RunNotificationOnRejectApprovalRequest(var ApprovalEntry: Record "Approval Entry")

Parameters / Return Value

  • ApprovalEntry Record "Approval Entry"

CreateNotificationEntry

procedure CreateNotificationEntry(NewType: Enum "Notification Entry Type"; RecipientUserID: Code[50]; NewRecord: Variant; NewLinkTargetPage: Integer; NewCustomLink: Text[250]; NewSenderUserID: Code[50])

Parameters / Return Value

  • NewType Enum "Notification Entry Type"

  • RecipientUserID Code[50]

  • NewRecord Variant

  • NewLinkTargetPage Integer

  • NewCustomLink Text[250]

  • NewSenderUserID Code[50]


Events

OnSendAbsenceLineForApproval

internal procedure OnSendAbsenceLineForApproval(var EmployeeAbsence: Record "Employee Absence")

Parameters / Return Value

  • EmployeeAbsence Record "Employee Absence"

OnCancelAbsenceLineApprovalRequest

internal procedure OnCancelAbsenceLineApprovalRequest(var EmployeeAbsence: Record "Employee Absence")

Parameters / Return Value

  • EmployeeAbsence Record "Employee Absence"

OnAddAutoApprovedRequest

internal procedure OnAddAutoApprovedRequest(var EmployeeAbsence: Record "Employee Absence"; var Handled: Boolean)

Parameters / Return Value

  • EmployeeAbsence Record "Employee Absence"

  • Handled Boolean


OnBeforeInsertNotificationEntryRecord

internal procedure OnBeforeInsertNotificationEntryRecord(var NotifEntry: Record "Notification Entry"; NewRecord: Variant)

Parameters / Return Value

  • NotifEntry Record "Notification Entry"

  • NewRecord Variant


OnAfterInsertNotificationEntryRecord

internal procedure OnAfterInsertNotificationEntryRecord(var NotifEntry: Record "Notification Entry"; NewRecord: Variant)

Parameters / Return Value

  • NotifEntry Record "Notification Entry"

  • NewRecord Variant



EOS Labs -