Codeunit 6280 Sust. Workflow Event Handling

Sustainability, Microsoft.Sustainability.Workflow

src/Apps/W1/Sustainability/app/src/Workflow/SustWorkflowEventHandling.Codeunit.al27 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

AddWorkflowEventsToLibrary line 32, local

  1. 34callsCodeunit 1520 Workflow Event Handling AddEventToLibrary
  2. 34callsRunWorkflowOnSendSustJournalBatchForApprovalCode
  3. 35callsCodeunit 1520 Workflow Event Handling AddEventToLibrary
  4. 35callsRunWorkflowOnCancelSustJournalBatchApprovalRequestCode

AddWorkflowEventPredecessorsToLibrary line 39, local

  1. 42callsRunWorkflowOnCancelSustJournalBatchApprovalRequestCode
  2. 43callsCodeunit 1520 Workflow Event Handling AddEventPredecessor
  3. 44callsRunWorkflowOnCancelSustJournalBatchApprovalRequestCode
  4. 45callsRunWorkflowOnSendSustJournalBatchForApprovalCode
  5. 46callsCodeunit 1520 Workflow Event Handling RunWorkflowOnApproveApprovalRequestCode
  6. 47callsCodeunit 1520 Workflow Event Handling AddEventPredecessor
  7. 48callsCodeunit 1520 Workflow Event Handling RunWorkflowOnApproveApprovalRequestCode
  8. 49callsRunWorkflowOnSendSustJournalBatchForApprovalCode
  9. 50callsCodeunit 1520 Workflow Event Handling RunWorkflowOnRejectApprovalRequestCode
  10. 51callsCodeunit 1520 Workflow Event Handling AddEventPredecessor
  11. 52callsCodeunit 1520 Workflow Event Handling RunWorkflowOnRejectApprovalRequestCode
  12. 53callsRunWorkflowOnSendSustJournalBatchForApprovalCode
  13. 54callsCodeunit 1520 Workflow Event Handling RunWorkflowOnDelegateApprovalRequestCode
  14. 55callsCodeunit 1520 Workflow Event Handling AddEventPredecessor
  15. 56callsCodeunit 1520 Workflow Event Handling RunWorkflowOnDelegateApprovalRequestCode
  16. 57callsRunWorkflowOnSendSustJournalBatchForApprovalCode

OnAfterInsertApprovalsTableRelations line 62, local

  1. 66callsCodeunit 1502 Workflow Setup InsertTableRelation

AddWorkflowTableRelationsToLibrary line 70, local

  1. 74callsCodeunit 1502 Workflow Setup InsertTableRelation

AddWorkflowResponsePredecessorsToLibrary line 78, local

  1. 81callsCodeunit 1521 Workflow Response Handling CreateApprovalRequestsCode
  2. 82callsCodeunit 1521 Workflow Response Handling AddResponsePredecessor
  3. 82callsRunWorkflowOnSendSustJournalBatchForApprovalCode
  4. 83callsCodeunit 1521 Workflow Response Handling SendApprovalRequestForApprovalCode
  5. 84callsCodeunit 1521 Workflow Response Handling AddResponsePredecessor
  6. 84callsRunWorkflowOnSendSustJournalBatchForApprovalCode
  7. 85callsCodeunit 1521 Workflow Response Handling CancelAllApprovalRequestsCode
  8. 86callsCodeunit 1521 Workflow Response Handling AddResponsePredecessor
  9. 86callsRunWorkflowOnCancelSustJournalBatchApprovalRequestCode

RunWorkflowOnSendSustJournalBatchForApproval line 91, local

  1. 93callsCodeunit 1501 Workflow Management HandleEvent
  2. 93callsRunWorkflowOnSendSustJournalBatchForApprovalCode

RunWorkflowOnCancelSustJournalBatchApprovalRequest line 97, local

  1. 99callsCodeunit 1501 Workflow Management HandleEvent
  2. 99callsRunWorkflowOnCancelSustJournalBatchApprovalRequestCode

OnAddWorkflowCategoriesToLibrary line 103, local

  1. 105callsCodeunit 1502 Workflow Setup InsertWorkflowCategory

InsertWorkflowTemplates line 109, local

  1. 111callsInsertSustJournalBatchApprovalWorkflowTemplate

InsertRequestPageFields line 115, local

  1. 119callsCodeunit 1522 Workflow Request Page Handling InsertDynReqPageField
  2. 120callsCodeunit 1522 Workflow Request Page Handling InsertDynReqPageField

RemoveSustJournalBatchRestrictionsBeforeDelete line 124, local

  1. 128callsCodeunit 1550 Record Restriction Mgt. AllowRecordUsage

RemoveSustJournalLineRestrictionsBeforeDelete line 132, local

  1. 136callsCodeunit 1550 Record Restriction Mgt. AllowRecordUsage

UpdateSustJournalBatchRestrictionsAfterRename line 140, local

  1. 144callsCodeunit 1550 Record Restriction Mgt. UpdateRestriction

RestrictSustJournalLineAfterInsert line 148, local

  1. 150callsRestrictSustJournalLine

RestrictSustJournalLineAfterModify line 154, local

  1. 159callsRestrictSustJournalLine

OnAfterCheckSustainabilityJournalLine line 163, local

  1. 165callsCheckRecordHasUsageRestrictions

OnBeforeAllowRecordUsageDefault line 169, local

  1. 180callsAllowSustJournalBatchUsage

OnConditionalCardPageIDNotFound line 185, local

  1. 189callsGetSustJournalBatchPageID
  2. 191callsGetSustJournalLinePageID

AllowSustJournalBatchUsage line 210, internal

  1. 215callsCodeunit 1550 Record Restriction Mgt. AllowRecordUsage
  2. 221callsCodeunit 1550 Record Restriction Mgt. AllowRecordUsage

CheckRecordHasUsageRestrictions line 225, local

  1. 232callsCodeunit 1550 Record Restriction Mgt. CheckRecordHasUsageRestrictions
  2. 233callsCodeunit 1550 Record Restriction Mgt. CheckRecordHasUsageRestrictions

RestrictSustJournalLine line 236, local

  1. 243callsCodeunit 6279 Sust. Approvals Mgmt. IsSustJournalBatchApprovalsWorkflowEnabled
  2. 244callsCodeunit 1550 Record Restriction Mgt. RestrictRecordUsage

InsertSustJournalBatchApprovalWorkflowTemplate line 247, local

  1. 251callsCodeunit 1502 Workflow Setup GetWorkflowTemplateCode
  2. 254callsCodeunit 1502 Workflow Setup InsertWorkflowTemplate
  3. 255callsInsertSustJournalBatchApprovalWorkflowDetails
  4. 256callsCodeunit 1502 Workflow Setup MarkWorkflowAsTemplate

InsertSustJournalBatchApprovalWorkflowDetails line 259, local

  1. 263callsCodeunit 1502 Workflow Setup InitWorkflowStepArgument
  2. 268callsInsertSustJnlBatchApprovalWorkflowSteps
  3. 268callsBuildSustJournalBatchTypeConditions
  4. 269callsRunWorkflowOnSendSustJournalBatchForApprovalCode
  5. 270callsCodeunit 1521 Workflow Response Handling CreateApprovalRequestsCode
  6. 271callsCodeunit 1521 Workflow Response Handling SendApprovalRequestForApprovalCode
  7. 272callsRunWorkflowOnCancelSustJournalBatchApprovalRequestCode

BuildSustJournalBatchTypeConditions line 276, local

  1. 280callsBuildSustJournalBatchTypeConditionsFromRec

BuildSustJournalBatchTypeConditionsFromRec line 283, local

  1. 285callsCodeunit 1502 Workflow Setup Encode

InsertSustJnlBatchApprovalWorkflowSteps line 288, local

  1. 305callsCodeunit 1502 Workflow Setup InsertEntryPointEventStep
  2. 306callsCodeunit 1502 Workflow Setup InsertEventArgument
  3. 308callsCodeunit 1502 Workflow Setup InsertResponseStep
  4. 308callsCodeunit 1521 Workflow Response Handling RestrictRecordUsageCode
  5. 310callsCodeunit 1502 Workflow Setup InsertResponseStep
  6. 312callsCodeunit 1502 Workflow Setup InsertApprovalArgument
  7. 316callsCodeunit 1502 Workflow Setup InsertResponseStep
  8. 318callsCodeunit 1502 Workflow Setup InsertNotificationArgument
  9. 320callsCodeunit 1502 Workflow Setup InsertEventStep
  10. 320callsCodeunit 1520 Workflow Event Handling RunWorkflowOnApproveApprovalRequestCode
  11. 322callsCodeunit 1502 Workflow Setup InsertEventArgument
  12. 322callsCodeunit 1502 Workflow Setup BuildNoPendingApprovalsConditions
  13. 323callsCodeunit 1502 Workflow Setup InsertResponseStep
  14. 323callsCodeunit 1521 Workflow Response Handling AllowRecordUsageCode
  15. 325callsCodeunit 1502 Workflow Setup InsertEventStep
  16. 325callsCodeunit 1520 Workflow Event Handling RunWorkflowOnApproveApprovalRequestCode
  17. 327callsCodeunit 1502 Workflow Setup InsertEventArgument
  18. 327callsCodeunit 1502 Workflow Setup BuildPendingApprovalsConditions
  19. 328callsCodeunit 1502 Workflow Setup InsertResponseStep
  20. 328callsCodeunit 1521 Workflow Response Handling SendApprovalRequestForApprovalCode
  21. 331callsCodeunit 1502 Workflow Setup SetNextStep
  22. 333callsCodeunit 1502 Workflow Setup InsertEventStep
  23. 333callsCodeunit 1520 Workflow Event Handling RunWorkflowOnRejectApprovalRequestCode
  24. 335callsCodeunit 1502 Workflow Setup InsertResponseStep
  25. 335callsCodeunit 1521 Workflow Response Handling RejectAllApprovalRequestsCode
  26. 337callsCodeunit 1502 Workflow Setup InsertNotificationArgument
  27. 339callsCodeunit 1502 Workflow Setup InsertEventStep
  28. 340callsCodeunit 1502 Workflow Setup InsertResponseStep
  29. 340callsCodeunit 1521 Workflow Response Handling CancelAllApprovalRequestsCode
  30. 342callsCodeunit 1502 Workflow Setup InsertNotificationArgument
  31. 343callsCodeunit 1502 Workflow Setup InsertResponseStep
  32. 343callsCodeunit 1521 Workflow Response Handling ShowMessageCode
  33. 344callsCodeunit 1502 Workflow Setup InsertMessageArgument
  34. 346callsCodeunit 1502 Workflow Setup InsertEventStep
  35. 346callsCodeunit 1520 Workflow Event Handling RunWorkflowOnDelegateApprovalRequestCode
  36. 348callsCodeunit 1502 Workflow Setup InsertResponseStep
  37. 348callsCodeunit 1521 Workflow Response Handling SendApprovalRequestForApprovalCode
  38. 351callsCodeunit 1502 Workflow Setup SetNextStep

GetSustJournalBatchPageID line 354, local

  1. 371callsGetSustJournalLinePageID