Codeunit 951 Time Sheet Approval Management

Base Application, Microsoft.Projects.TimeSheet

src/Layers/W1/BaseApp/Projects/TimeSheet/TimeSheetApprovalManagement.Codeunit.al18 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

ProcessAction line 47

  1. 53callsSubmit
  2. 55callsReopenSubmitted
  3. 57callsApprove
  4. 59callsReopenApproved
  5. 61callsReject

Submit line 66

  1. 71raisesOnBeforeSubmitIsHandled
  2. 79callsTable 951 Time Sheet Line TestStatus
  3. 82callsCheckEmptyLineNotRequireSubmit
  4. 97raisesOnSubmitOnAfterCheck
  5. 98callsTable 951 Time Sheet Line UpdateApproverID
  6. 100raisesOnSubmitOnBeforeTimeSheetLineModify
  7. 101writesTable 951 Time Sheet Line Modify(true)
  8. 102raisesOnAfterSubmit

CheckEmptyLineNotRequireSubmit line 105, local

  1. 107callsGetResourceSetup

SubmitIfConfirmed line 115

  1. 118callsSubmit

ReopenSubmitted line 121

  1. 126raisesOnReopenSubmittedOnBeforeModify
  2. 127writesTable 951 Time Sheet Line Modify(true)
  3. 128raisesOnReopenSubmittedOnAfterModify
  4. 130raisesOnAfterReopenSubmitted

ReopenSubmittedIfConfirmed line 133

  1. 136callsReopenSubmitted

ReopenApproved line 139

  1. 144callsCheckApproverPermissions
  2. 145raisesOnReopenApprovedOnBeforeCheckLinkedDoc
  3. 146callsTable 951 Time Sheet Line UpdateApproverID
  4. 148raisesOnReopenApprovedOnBeforeTimeSheetLineModify
  5. 149writesTable 951 Time Sheet Line Modify(true)
  6. 151raisesOnAfterReopenApproved

ReopenApprovedIfConfirmed line 154

  1. 157callsReopenApproved

Reject line 160

  1. 165raisesOnBeforeRejectIsHandled
  2. 170callsCheckApproverPermissions
  3. 172raisesOnRejectOnBeforeTimeSheetLineModify
  4. 173writesTable 951 Time Sheet Line Modify(true)
  5. 176raisesOnAfterReject

RejectIfConfirmed line 179

  1. 182callsReject

Approve line 185

  1. 190raisesOnBeforeApproveIsHandled
  2. 197callsCheckApproverPermissions
  3. 201raisesOnApproveOnBeforeTimeSheetLineModify
  4. 202writesTable 951 Time Sheet Line Modify(true)
  5. 205callsPostAbsence
  6. 208raisesOnAfterApprove

ApproveIfConfirmed line 211

  1. 214callsApprove

PostAbsence line 225

  1. 236raisesOnBeforePostAbsenceIsHandled
  2. 249validatesTable 5207 Employee Absence Employee No.
  3. 250validatesTable 5207 Employee Absence From Date
  4. 251validatesTable 5207 Employee Absence Cause of Absence Code
  5. 252validatesTable 5207 Employee Absence Unit of Measure Code
  6. 253validatesTable 5207 Employee Absence Quantity
  7. 254raisesOnBeforeInsertEmployeeAbsence
  8. 255writesTable 5207 Employee Absence Insert(true)
  9. 258writesTable 952 Time Sheet Detail Modify
  10. 259callsCodeunit 950 Time Sheet Management CreateTSPostingEntry
  11. 268writesTable 951 Time Sheet Line Modify

CheckApproverPermissions line 271, local

  1. 277raisesOnBeforeCheckApproverPermissionsIsHandled

GetTimeSheetActionDialogText line 288

  1. 295raisesOnBeforeGetTimeSheetActionDialogTextIsHandled

GetManagerTimeSheetActionDialogText line 308

  1. 315raisesOnBeforeGetManagerTimeSheetActionDialogTextIsHandled

GetCommonTimeSheetActionDialogText line 329

  1. 336raisesOnBeforeGetCommonTimeSheetActionDialogTextIsHandled

ConfirmAction line 352

  1. 354callsGetConfirmInstructions