Codeunit 20424 "Qlty. Workflow Response"
Quality Management · Microsoft.QualityManagement.Workflow
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 19 connected objects and pages
Quality Management · Microsoft.QualityManagement.Workflow · BC29-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “Workflow Step Instance” = r, tabledata “Qlty. Workflow Config. Value” = im |
Events published
OnExecuteWorkflowResponseOnAfterFindRelatedRecord(var ResponseExecuted: Boolean; var SourceVariant: Variant; PreviousVariant: Variant; ResponseWorkflowStepInstance: Record "Workflow Step Instance"; var TargetRecordRef: RecordRef; var IsHandled: Boolean)(integration): OnExecuteWorkflowResponseOnAfterFindRelatedRecord occurs after the system has found the related record for the workflow step.
Event subscriptions
- HandleOnExecuteWorkflowResponse subscribes to Codeunit “Workflow Response Handling” OnExecuteWorkflowResponse
Procedures
GetStepConfigurationValueAsDecimal(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text): Decimal(internal): Gets the step configuration value as a decimal for the given key.GetStepConfigurationValueAsBoolean(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text): Boolean(internal): Gets the step configuration value as a boolean for the given key.GetStepConfigurationValueAsCode10(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text): Code[10](internal): Gets the step configuration value as Code[10] for the given key.GetStepConfigurationValueAsCode20(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text): Code[20](internal): Gets the step configuration value as Code[20] for the given key.GetStepConfigurationValue(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text): Text: Returns the configuration value for a given key.SetStepConfigurationValueAsDecimal(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text; Value: Decimal): Sets a decimal step argument configuration value.SetStepConfigurationValueAsBoolean(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text; Value: Boolean): Sets a boolean step argument configuration value.SetStepConfigurationValue(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text; Value: Text): Sets a step argument configuration value.GetStepConfigurationValueAsDate(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text): Date(internal): Gets the step configuration value as a date.SetStepConfigurationValueAsDate(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text; DateValue: Date)(internal): Sets the step configuration value as a date compatible text value.GetWellKnownKeyLocation(): Text: Returns the key for a location Typically used for target location/destination location/new locationGetWellKnownKeyBin(): Text: Returns the key for a bin Typically used for target bin/destination bin/new bin.GetWellKnownKeyQuantity(): Text: Returns the key for a quantity.GetWellKnownPostImmediately(): Text: Returns the key for posting immediately or not.GetWellKnownMoveAll(): Text: Returns the key for a flag to move the entire item trackingGetWellKnownSourceLocationFilter(): Text(internal): Returns the key for a source location filterGetWellKnownSourceBinFilter(): Text(internal): Returns the key for a source bin filterGetWellKnownCreatePutAway(): Text: Returns the key for a put-away choice.GetWellKnownKeyField(): Text(internal): Returns the key for a fieldGetWellKnownKeyValueExpression(): Text(internal): Returns the key for a value expressionGetWellKnownKeyDatabaseTable(): Text(internal): Returns the key for a database tableGetWellKnownKeyDatabaseTableFilter(): Text(internal): Returns the key for a database table filter.GetWellKnownAdjPostingBehavior(): Text: Returns the key value for adjustment posting behavior.GetWellKnownUseMoveSheet(): Text(internal): Returns the key value for whether or not to use the movement worksheetGetWellKnownNewLotNo(): Text(internal): Returns the key value for new lot no.GetWellKnownNewSerialNo(): Text(internal): Returns the key value for new serial no.GetWellKnownNewPackageNo(): Text(internal): Returns the key value for new package no.GetWellKnownNewExpDate(): Text(internal): Returns the key value for new expiration date.GetWellKnownReasonCode(): Text: Returns the key value for reason code.GetWellKnownDirectTransfer(): Text: Returns the key value for direct transfer.GetWellKnownInTransit(): Text(internal): Returns the key value for the in-transit code.GetWellKnownExternalDocNo(): Text: Returns the key value for the external doc. no.GetStepConfigurationValueAsQuantityBehaviorEnum(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text): Enum "Qlty. Quantity Behavior"(internal): Gets the step configuration value as an Qlty. Move Behavior Enum.SetStepConfigurationValueAsQuantityBehaviorEnum(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text; QltyQuantityBehavior: Enum "Qlty. Quantity Behavior"): Stores a quantity behavior as its workflow configuration token.GetStepConfigurationValueAsAdjPostingEnum(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text): Enum "Qlty. Item Adj. Post Behavior"(internal): Gets the step configuration value as an Qlty. Item Adj. Post Behavior Enum.SetStepConfigurationValueAsAdjPostingEnum(WorkflowStepArgument: Record "Workflow Step Argument"; CurrentKey: Text; CurrentEnum: Enum "Qlty. Item Adj. Post Behavior"): Uses an Qlty. Item Adj. Post Behavior Enum to set a Workflow Step Argument key/value.
Plus 3 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 20423 “Qlty. Workflow Setup” (20 calls:
ClearInspectionStatusFilterIfRequired → GetInspectionFinishedEvent,ClearInspectionStatusFilterIfRequired → GetInspectionReopenedEvent,HandleOnExecuteWorkflowResponse → GetQualityInspectionPrefix, …) - Codeunit 20428 “Qlty. Item Tracking” (3 calls:
HandleOnExecuteWorkflowResponse → SetLotBlockState,HandleOnExecuteWorkflowResponse → SetPackageBlockState,HandleOnExecuteWorkflowResponse → SetSerialBlockState) - Codeunit 20404 “Qlty. Inspection - Create” (2 calls:
HandleOnExecuteWorkflowResponse → CreateInspection,HandleOnExecuteWorkflowResponse → GetCreatedInspection) - Codeunit 20416 “Qlty. Expression Mgmt.” (2 calls:
HandleOnExecuteWorkflowResponse → EvaluateTextExpression,InitDispositionBufferFromWorkflowStepArgument → EvaluateTextExpression) - Codeunit 20437 “Qlty. Notification Mgmt.” (1 call:
HandleOnExecuteWorkflowResponse → NotifyDocumentCreationFailed) - Codeunit 20441 “Qlty. Disp. Purchase Return” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20443 “Qlty. Disp. Change Tracking” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20444 “Qlty. Disp. Transfer” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20445 “Qlty. Inventory Availability” (1 call:
HandleOnExecuteWorkflowResponse → PopulateQuantityBuffer) - Codeunit 20446 “Qlty. Disp. Neg. Adjust Inv.” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20447 “Qlty. Disp. Internal Put-away” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20449 “Qlty. Disp. Move Whse.Reclass.” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20450 “Qlty. Disp. Internal Move” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20451 “Qlty. Disp. Move Worksheet” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20452 “Qlty. Disp. Move Item Reclass.” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20453 “Qlty. Disp. Warehouse Put-away” (1 call:
HandleOnExecuteWorkflowResponse → PerformDisposition) - Codeunit 20599 “Qlty. Misc Helpers” (1 call:
HandleOnExecuteWorkflowResponse → SetTableValue) - Codeunit 701 “Data Type Management” (1 call:
HandleOnExecuteWorkflowResponse → GetRecordRef)
Called by
- Page extension 20403 “Qlty. Workflow Resp. Options” (36 calls:
Qlty_SetCommonDatabaseVariables → GetWellKnownKeyDatabaseTable,Qlty_SetCommonDatabaseVariables → GetWellKnownKeyDatabaseTableFilter,Qlty_SetCommonDatabaseVariables → GetWellKnownKeyField, …)
Recent changes
- 2026-08-20 #10270 [Quality Management] Repair and improve XML documentation of procedures (main, BC30, refactor)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Quality management workflows — possibly related: Documents quality management workflows that automate responses to inspection events, matching this codeunit’s workflow response… (model-linked)
- Walkthrough: Implementing New Workflow Events and Responses — possibly related: Describes implementing workflow responses and registering objects through event subscribers, relevant to the OnExecuteWorkflowResponse… (model-linked)
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "Qlty. Workflow Response"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.