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

Codeunit 1521 "Workflow Response Handling"

Base Application · System.Automation

Across versions

  1. BC23present
  2. BC241 procedures added, 1 procedures removed
  3. BC25-30unchanged

Neighbourhood 35 connected objects and pages

Codeunit 6139 "E-Document Workflow Setup" (event subscribers, 4 links)E-Document Workflow SetupCodeunit 1542 "Workflow Webhook Responses" (event subscribers, 3 links)Codeunit 20423 "Qlty. Workflow Setup" (event subscribers, 2 links)Qlty. Workflow SetupCodeunit 20425 "Qlty. Workflow Approvals" (event subscribers, 2 links)Qlty. Workflow ApprovalsCodeunit 6280 "Sust. Workflow Event Handling" (event subscribers, 2 links)Sust. Workflow Event HandlingCodeunit 20424 "Qlty. Workflow Response" (event subscribers)Codeunit 1502 "Workflow Setup" (calls, 100 links)Workflow SetupCodeunit 1520 "Workflow Event Handling" (calls, 39 links)Workflow Event HandlingCodeunit 1540 "Workflow Webhook Setup" (calls, 16 links)Workflow Webhook SetupCodeunit 6280 "Sust. Workflow Event Handling" (calls, 12 links)Sust. Workflow Event HandlingCodeunit 1535 "Approvals Mgmt." (calls, 10 links)Approvals Mgmt.Codeunit 1550 "Record Restriction Mgt." (calls, 7 links)Codeunit 1804 "Approval Workflow Setup Mgt." (calls, 6 links)Approval Workflow Setup Mgt.Codeunit 1531 "Workflow Change Rec Mgt." (calls, 3 links)Workflow Change Rec Mgt.Codeunit 20423 "Qlty. Workflow Setup" (calls, 3 links)Qlty. Workflow SetupTable 1501 "Workflow" (calls, 3 links)Codeunit 132 "Release Incoming Document" (calls, 2 links)Release Incoming DocumentCodeunit 1501 "Workflow Management" (calls, 2 links)Workflow ManagementCodeunit 1542 "Workflow Webhook Responses" (calls, 2 links)Codeunit 414 "Release Sales Document" (calls, 2 links)Codeunit 415 "Release Purchase Document" (calls, 2 links)Codeunit 137 "OCR Inc. Doc. via Job Queue" (calls)Codeunit 150 "System Initialization" (calls)Codeunit 1510 "Notification Management" (calls)Codeunit 1512 "Workflow Create Payment Line" (calls)Codeunit 80 "Sales-Post" (calls)Codeunit 90 "Purch.-Post" (calls)Page 1523 "Workflow Response Options" (calls)Page 1525 "Workflow Response FactBox" (calls)Page 1529 "Workflow Overview" (calls)Page 1543 "WF Event/Response Comb. Matrix" (calls)Page 1812 "Item Approval WF Setup Wizard" (calls)Page 1813 "Cust. Approval WF Setup Wizard" (calls)Table 1502 "Workflow Step" (calls)Table 1521 "Workflow Response" (calls)

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

Properties

Property Value
Permissions TableData “Sales Header” = rm, TableData “Purchase Header” = rm, TableData “Notification Entry” = rimd, tabledata “Workflow Response” = r

Events published

  • OnAddWorkflowResponsesToLibrary() (integration)
  • OnAddWorkflowResponsePredecessorsToLibrary(ResponseFunctionName: Code[128]) (integration)
  • OnExecuteWorkflowResponse(var ResponseExecuted: Boolean; var Variant: Variant; xVariant: Variant; ResponseWorkflowStepInstance: Record "Workflow Step Instance") (integration)
  • OnAfterGetWorkflowResponseDescription(var WorkflowResponse: Record "Workflow Response"; var WorkflowStepArgument: Record "Workflow Step Argument"; var WorkflowDescription: Text[250]) (integration)
  • OnAfterAllowRecordUsage(Variant: Variant; var RecRef: RecordRef) (integration)
  • OnAfterGetDescription(WorkflowStepArgument: Record "Workflow Step Argument"; WorkflowResponse: Record "Workflow Response"; var Result: Text[250]) (integration)
  • OnBeforeAddResponseToLibrary(FunctionName: Code[128]; Description: Text[250]) (integration)
  • OnBeforeAllowRecordUsageDefault(var Variant: Variant; var Handled: Boolean) (integration)
  • OnBeforeCreateNotificationEntry(WorkflowStepInstance: Record "Workflow Step Instance"; ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean) (integration)
  • OnBeforeExecuteResponse(var Variant: Variant; ResponseWorkflowStepInstance: Record "Workflow Step Instance"; xVariant: Variant; var IsHandled: Boolean) (integration)
  • OnBeforeIsArgumentMandatory(ResponseFunctionName: Code[128]; var ArgumentMandatory: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeReleaseDocument(var Variant: Variant) (integration)
  • OnOpenDocument(RecRef: RecordRef; var Handled: Boolean) (integration)
  • OnPostDocumentOnCaseElse(RecRef: RecordRef; var IsHandled: Boolean) (integration)
  • OnReleaseDocument(RecRef: RecordRef; var Handled: Boolean) (integration)
  • OnCheckIsArgumentMandatory(ResponseFunctionName: Code[128]; var ArgumentMandatory: Boolean) (integration)
  • OnCheckHasRequiredArguments(WorkflowStep: Record "Workflow Step"; WorkflowStepArgument: Record "Workflow Step Argument"; var HasRequiredArgument: Boolean) (integration)
  • OnShowMessageOnBeforeShowMessage(WorkflowStepArgument: Record "Workflow Step Argument"; var SuppressMessage: Boolean) (integration)

Procedures

  • CreateResponsesLibrary()
  • ExecuteResponse(var Variant: Variant; ResponseWorkflowStepInstance: Record "Workflow Step Instance"; xVariant: Variant)
  • DoNothingCode(): Code[128]
  • CreateNotificationEntryCode(): Code[128]
  • ReleaseDocumentCode(): Code[128]
  • OpenDocumentCode(): Code[128]
  • SetStatusToPendingApprovalCode(): Code[128]
  • GetApprovalCommentCode(): Code[128]
  • CreateApprovalRequestsCode(): Code[128]
  • SendApprovalRequestForApprovalCode(): Code[128]
  • ApproveAllApprovalRequestsCode(): Code[128]
  • RejectAllApprovalRequestsCode(): Code[128]
  • CancelAllApprovalRequestsCode(): Code[128]
  • PostDocumentAsyncCode(): Code[128]
  • PostDocumentCode(): Code[128]
  • CreatePmtLineForPostedPurchaseDocAsyncCode(): Code[128]
  • CreatePmtLineForPostedPurchaseDocCode(): Code[128]
  • CreateOverdueNotificationCode(): Code[128]
  • CheckCustomerCreditLimitCode(): Code[128]
  • CheckGeneralJournalBatchBalanceCode(): Code[128]
  • CreateAndApproveApprovalRequestAutomaticallyCode(): Code[128]
  • ShowMessageCode(): Code[128]
  • RestrictRecordUsageCode(): Code[128]
  • AllowRecordUsageCode(): Code[128]
  • GetMarkReadyForOCRCode(): Code[128]
  • GetSendToOCRAsyncCode(): Code[128]
  • GetSendToOCRCode(): Code[128]
  • GetReceiveFromOCRAsyncCode(): Code[128]
  • GetReceiveFromOCRCode(): Code[128]
  • GetCreateDocFromIncomingDocCode(): Code[128]
  • GetCreateReleasedDocFromIncomingDocCode(): Code[128]
  • GetCreateJournalFromIncomingDocCode(): Code[128]
  • RevertValueForFieldCode(): Code[128]
  • ApplyNewValuesCode(): Code[128]
  • DiscardNewValuesCode(): Code[128]
  • EnableJobQueueEntryCode(): Code[128]
  • SetStatusToPendingApproval(var Variant: Variant)
  • AddResponseToLibrary(FunctionName: Code[128]; TableID: Integer; Description: Text[250]; ResponseOptionGroup: Code[20])
  • AddResponsePredecessor(FunctionName: Code[128]; PredecessorFunctionName: Code[128])
  • GetDescription(WorkflowStepArgument: Record "Workflow Step Argument"): Text[250]
  • IsArgumentMandatory(ResponseFunctionName: Code[128]): Boolean
  • HasRequiredArguments(WorkflowStep: Record "Workflow Step"): Boolean
  • GetApproveOverReceiptCode(): Text[128]

Plus 36 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.

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 Response Handling"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources