codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 1540 "Workflow Webhook Setup"

Base Application · System.Automation

Across versions

  1. BC23-27present
  2. BC287 procedures added
  3. BC29-30unchanged

Neighbourhood 7 connected objects and pages

Codeunit 1520 "Workflow Event Handling" (calls, 20 links)Workflow Event HandlingCodeunit 1521 "Workflow Response Handling" (calls, 16 links)Workflow Response HandlingTable 469 "Workflow Webhook Subscription" (calls, 7 links)Workflow Webhook SubscriptionCodeunit 1541 "Workflow Webhook Events" (calls, 6 links)Workflow Webhook EventsCodeunit 1542 "Workflow Webhook Responses" (calls, 6 links)Workflow Webhook ResponsesCodeunit 1502 "Workflow Setup" (calls, 2 links)Workflow SetupCodeunit 1530 "Request Page Parameters Helper" (calls)Request Page Parameters Helper

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · System.Automation · BC23-30 · source at ea08af5e · facts from BC29

Procedures

  • CreateWorkflowDefinition(EventCode: Code[128]; Name: Text[100]; EventConditions: Text; ResponseUserID: Code[50]): Code[20]
  • GetSalesDocCategoryTxt(): Code[20]
  • GetPurchaseDocCategoryTxt(): Code[20]
  • GetPurchPayCategoryTxt(): Code[20]
  • GetFinCategoryTxt(): Code[20]
  • GetSalesMktCategoryTxt(): Code[20]
  • GetInventoryCategoryTxt(): Code[20] + BC28
  • GetUnsupportedWorkflowEventCodeErr(): Text

Plus 25 local procedures.

Triggers

OnRun

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 1520 “Workflow Event Handling” (20 calls: CreateCustomerApprovalWorkflow → RunWorkflowOnSendCustomerForApprovalCode, CreateGeneralJournalBatchApprovalWorkflow → RunWorkflowOnSendGeneralJournalBatchForApprovalCode, CreateGeneralJournalBatchApprovalWorkflowSteps → RunWorkflowOnGeneralJournalBatchBalancedCode, …)
  • Codeunit 1521 “Workflow Response Handling” (16 calls: CreateApprovalWorkflow → AllowRecordUsageCode, CreateApprovalWorkflow → OpenDocumentCode, CreateApprovalWorkflow → ReleaseDocumentCode, …)
  • Codeunit 1541 “Workflow Webhook Events” (6 calls: CreateApprovalWorkflow → WorkflowWebhookResponseReceivedEventCode, CreateCustomerItemApprovalWorkflow → WorkflowWebhookResponseReceivedEventCode, CreateGeneralJournalWorkflowNotificationSteps → WorkflowWebhookResponseReceivedEventCode, …)
  • Codeunit 1542 “Workflow Webhook Responses” (6 calls: CreateApprovalWorkflow → SendNotificationToWebhookCode, CreateCustomerItemApprovalWorkflow → SendNotificationToWebhookCode, CreateGeneralJournalBatchApprovalWorkflowSteps → SendNotificationToWebhookCode, …)
  • Codeunit 1502 “Workflow Setup” (2 calls: CreateGeneralJournalBatchApprovalWorkflowSteps → GetGeneralJournalBatchIsNotBalancedMsg, InitializeWorkflow → InitWorkflow)
  • Codeunit 1530 “Request Page Parameters Helper” (1 call: CreateEventCondition → GetViewFromDynamicRequestPage)

Called by

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: "Workflow Webhook Setup"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources