Codeunit 6280 "Sust. Workflow Event Handling"
Sustainability · Microsoft.Sustainability.Workflow
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 8 connected objects and pages
Sustainability · Microsoft.Sustainability.Workflow · BC29-30 · source at ea08af5e · facts from BC29
Event subscriptions
- AddWorkflowEventsToLibrary subscribes to Codeunit “Workflow Event Handling” OnAddWorkflowEventsToLibrary
- AddWorkflowEventPredecessorsToLibrary subscribes to Codeunit “Workflow Event Handling” OnAddWorkflowEventPredecessorsToLibrary
- OnAfterInsertApprovalsTableRelations subscribes to Codeunit “Workflow Setup” OnAfterInsertApprovalsTableRelations
- AddWorkflowTableRelationsToLibrary subscribes to Codeunit “Workflow Event Handling” OnAddWorkflowTableRelationsToLibrary
- AddWorkflowResponsePredecessorsToLibrary subscribes to Codeunit “Workflow Response Handling” OnAddWorkflowResponsePredecessorsToLibrary
- RunWorkflowOnSendSustJournalBatchForApproval subscribes to Codeunit “Sust. Approvals Mgmt.” OnSendSustainabilityJournalBatchForApproval
- RunWorkflowOnCancelSustJournalBatchApprovalRequest subscribes to Codeunit “Sust. Approvals Mgmt.” OnCancelSustainabilityJournalBatchApprovalRequest
- OnAddWorkflowCategoriesToLibrary subscribes to Codeunit “Workflow Setup” OnAddWorkflowCategoriesToLibrary
- InsertWorkflowTemplates subscribes to Codeunit “Workflow Setup” OnAfterInitWorkflowTemplates
- InsertRequestPageFields subscribes to Codeunit “Workflow Request Page Handling” OnAfterInsertRequestPageFields
- RemoveSustJournalBatchRestrictionsBeforeDelete subscribes to Table “Sustainability Jnl. Batch” OnBeforeDeleteEvent
- RemoveSustJournalLineRestrictionsBeforeDelete subscribes to Table “Sustainability Jnl. Line” OnBeforeDeleteEvent
- UpdateSustJournalBatchRestrictionsAfterRename subscribes to Table “Sustainability Jnl. Batch” OnAfterRenameEvent
- RestrictSustJournalLineAfterInsert subscribes to Table “Sustainability Jnl. Line” OnAfterInsertEvent
- RestrictSustJournalLineAfterModify subscribes to Table “Sustainability Jnl. Line” OnAfterModifyEvent
- OnAfterCheckSustainabilityJournalLine subscribes to Codeunit “Sustainability Jnl.-Check” OnAfterCheckSustainabilityJournalLine
- OnBeforeAllowRecordUsageDefault subscribes to Codeunit “Workflow Response Handling” OnBeforeAllowRecordUsageDefault
- OnConditionalCardPageIDNotFound subscribes to Codeunit “Page Management” OnConditionalCardPageIDNotFound
Procedures
RunWorkflowOnSendSustJournalBatchForApprovalCode(): Code[128](internal)RunWorkflowOnCancelSustJournalBatchApprovalRequestCode(): Code[128](internal)SustJournalBatchApprovalWorkflowCode(): Code[17](internal)AllowSustJournalBatchUsage(SustJournalBatch: Record "Sustainability Jnl. Batch")(internal)
Plus 9 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 1502 “Workflow Setup” (18 calls:
AddWorkflowTableRelationsToLibrary → InsertTableRelation,BuildSustJournalBatchTypeConditionsFromRec → Encode,InsertSustJnlBatchApprovalWorkflowSteps → BuildNoPendingApprovalsConditions, …) - Codeunit 1521 “Workflow Response Handling” (12 calls:
AddWorkflowResponsePredecessorsToLibrary → AddResponsePredecessor,AddWorkflowResponsePredecessorsToLibrary → CancelAllApprovalRequestsCode,AddWorkflowResponsePredecessorsToLibrary → CreateApprovalRequestsCode, …) - Codeunit 1520 “Workflow Event Handling” (8 calls:
AddWorkflowEventPredecessorsToLibrary → AddEventPredecessor,AddWorkflowEventPredecessorsToLibrary → RunWorkflowOnApproveApprovalRequestCode,AddWorkflowEventPredecessorsToLibrary → RunWorkflowOnDelegateApprovalRequestCode, …) - Codeunit 1550 “Record Restriction Mgt.” (6 calls:
AllowSustJournalBatchUsage → AllowRecordUsage,CheckRecordHasUsageRestrictions → CheckRecordHasUsageRestrictions,RemoveSustJournalBatchRestrictionsBeforeDelete → AllowRecordUsage, …) - Codeunit 1501 “Workflow Management” (2 calls:
RunWorkflowOnCancelSustJournalBatchApprovalRequest → HandleEvent,RunWorkflowOnSendSustJournalBatchForApproval → HandleEvent) - Codeunit 1522 “Workflow Request Page Handling” (1 call:
InsertRequestPageFields → InsertDynReqPageField) - Codeunit 6279 “Sust. Approvals Mgmt.” (1 call:
RestrictSustJournalLine → IsSustJournalBatchApprovalsWorkflowEnabled)
Called by
- Codeunit 6279 “Sust. Approvals Mgmt.” (2 calls:
CheckSustJournalBatchApprovalsWorkflowEnabled → RunWorkflowOnSendSustJournalBatchForApprovalCode,IsSustJournalBatchApprovalsWorkflowEnabled → RunWorkflowOnSendSustJournalBatchForApprovalCode) - Page 6219 “Sustainability Journal” (1 call:
SetApprovalStateForBatch → RunWorkflowOnSendSustJournalBatchForApprovalCode)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Sust. Workflow Event Handling"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.