---
id: object/codeunit/31023-cz
type: object
title: Codeunit 31023 "Workflow Handler CZZ" (CZ)
summary: Codeunit 31023 "Workflow Handler CZZ" (CZ) in the CZ country layer (Microsoft.Finance.AdvancePayments). 8 public procedures, 25 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - cz layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 669626709aca09e9e3b294c4bb4bfdfd5efba5a416a62624f5ed1dc7582e31d9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/AdvancePaymentsLocalization/app/Src/Codeunits/WorkflowHandlerCZZ.Codeunit.al
    title: src/Apps/CZ/AdvancePaymentsLocalization/app/Src/Codeunits/WorkflowHandlerCZZ.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/cz
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 31023
name: Workflow Handler CZZ
namespace: Microsoft.Finance.AdvancePayments
app: AdvancePaymentsLocalization
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: CZ
counts:
  fields: 0
  procedures: 39
  events: 0
  subscribers: 25
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 31023 "Workflow Handler CZZ" (CZ)

> Codeunit 31023 "Workflow Handler CZZ" (CZ) in the CZ country layer (Microsoft.Finance.AdvancePayments). 8 public procedures, 25 event subscribers. Introduced in BC29, still in BC30.

CZ country layer · Microsoft.Finance.AdvancePayments · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/AdvancePaymentsLocalization/app/Src/Codeunits/WorkflowHandlerCZZ.Codeunit.al) · facts from BC29

An object of the [CZ localization](../../localizations/cz.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "NAV App Installed App" = r |

## Event subscriptions

- AddWorkflowEventsToLibrary subscribes to Codeunit "Workflow Event Handling" OnAddWorkflowEventsToLibrary
- AddWorkflowEventPredecessorsToLibrary subscribes to Codeunit "Workflow Event Handling" OnAddWorkflowEventPredecessorsToLibrary
- AddWorkflowTableRelationsToLibrary subscribes to Codeunit "Workflow Event Handling" OnAddWorkflowTableRelationsToLibrary
- AddWorkflowResponsePredecessorsToLibrary subscribes to Codeunit "Workflow Response Handling" OnAddWorkflowResponsePredecessorsToLibrary
- ReleaseAdvanceLetter subscribes to Codeunit "Workflow Response Handling" OnReleaseDocument
- OpenAdvanceLetter subscribes to Codeunit "Workflow Response Handling" OnOpenDocument
- GetDetailsOnAfterGetRecordDetails subscribes to Table "Approval Entry" OnAfterGetRecordDetails
- RunWorkflowOnSendSalesAdvLetterForApproval subscribes to Codeunit "Adv. Payments Approv. Mgt. CZZ" OnSendSalesAdvanceLetterForApproval
- RunWorkflowOnCancelSalesAdvLetterApprovalRequest subscribes to Codeunit "Adv. Payments Approv. Mgt. CZZ" OnCancelSalesAdvanceLetterApprovalRequest
- RunWorkflowOnAfterReleaseSalesAdvLetter subscribes to Codeunit "Rel. Sales Adv.Letter Doc. CZZ" OnAfterReleaseDoc
- RunWorkflowOnSendPurchaseAdvLetterForApproval subscribes to Codeunit "Adv. Payments Approv. Mgt. CZZ" OnSendPurchaseAdvanceLetterForApproval
- RunWorkflowOnCancelPurchaseAdvLetterApprovalRequest subscribes to Codeunit "Adv. Payments Approv. Mgt. CZZ" OnCancelPurchaseAdvanceLetterApprovalRequest
- RunWorkflowOnAfterReleasePurchaseAdvLetter subscribes to Codeunit "Rel. Purch.Adv.Letter Doc. CZZ" OnAfterReleaseDoc
- SalesAdvanceLetterHeaderCheckSalesAdvanceLetterPostRestrictions subscribes to Table "Sales Adv. Letter Header CZZ" OnCheckSalesAdvanceLetterPostRestrictions
- SalesAdvanceLetterHeaderCheckSalesAdvanceLetterReleaseRestrictions subscribes to Table "Sales Adv. Letter Header CZZ" OnCheckSalesAdvanceLetterReleaseRestrictions
- PurchAdvanceLetterHeaderCheckPurchaseAdvanceLetterPostRestrictions subscribes to Table "Purch. Adv. Letter Header CZZ" OnCheckPurchaseAdvanceLetterPostRestrictions
- PurchAdvanceLetterHeaderCheckPurchaseAdvanceLetterReleaseRestrictions subscribes to Table "Purch. Adv. Letter Header CZZ" OnCheckPurchaseAdvanceLetterReleaseRestrictions
- RemoveSalesAdvanceLetterHeaderRestrictionsBeforeDelete subscribes to Table "Sales Adv. Letter Header CZZ" OnBeforeDeleteEvent
- RemovePurchAdvanceLetterHeaderRestrictionsBeforeDelete subscribes to Table "Purch. Adv. Letter Header CZZ" OnBeforeDeleteEvent
- UpdateSalesAdvanceLetterHeaderRestrictionsAfterRename subscribes to Table "Sales Adv. Letter Header CZZ" OnAfterRenameEvent
- UpdatePurchAdvanceLetterHeaderRestrictionsAfterRename subscribes to Table "Purch. Adv. Letter Header CZZ" OnAfterRenameEvent
- InsertWorkflowTemplates subscribes to Codeunit "Workflow Setup" OnAfterInitWorkflowTemplates
- AssignEntitiesToWorkflowEvents subscribes to Codeunit "Workflow Request Page Handling" OnAfterAssignEntitiesToWorkflowEvents
- InsertRequestPageEntities subscribes to Codeunit "Workflow Request Page Handling" OnAfterInsertRequestPageEntities
- InsertRequestPageFields subscribes to Codeunit "Workflow Request Page Handling" OnAfterInsertRequestPageFields

## Procedures

- `BuildSalesAdvanceLetterHeaderTypeConditions(Status: Enum "Advance Letter Doc. Status CZZ"): Text`
- `BuildPurchAdvanceLetterHeaderTypeConditions(Status: Enum "Advance Letter Doc. Status CZZ"): Text`
- `RunWorkflowOnSendSalesAdvanceLetterForApprovalCode(): Code[128]`
- `RunWorkflowOnCancelSalesAdvanceLetterApprovalRequestCode(): Code[128]`
- `RunWorkflowOnAfterReleaseSalesAdvanceLetterCode(): Code[128]`
- `RunWorkflowOnSendPurchaseAdvanceLetterForApprovalCode(): Code[128]`
- `RunWorkflowOnCancelPurchaseAdvanceLetterApprovalRequestCode(): Code[128]`
- `RunWorkflowOnAfterReleasePurchaseAdvanceLetterCode(): Code[128]`

Plus 6 local procedures.

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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

A CZ country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
