---
id: change/bcapps/12134
type: change
title: "#12134 [main] bug 652313 - Add Approvals Management integration to compensation, payment order and cash document processing"
summary: Approvals Management integration was added to compensation, payment order, and cash document processing in Czech localizations so approval entries are properly moved to Posted Approval Entry when documents are posted, preserving the audit trail.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit issue payment order czb
  - page iss. payment order czb
  - page iss. payment orders czb
  - codeunit cash document-post czp
  - page posted cash document czp
  - codeunit compensation - post czc
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:50.402Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 306dc9466c489b82f80ffba01a583c5bbbd5696c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12134
    title: "microsoft/BCApps#12134: [main] bug 652313 - Add Approvals Management integration to compensation, payment order and cash document processing"
    date: "2026-10-01"
    commit: 306dc9466c489b82f80ffba01a583c5bbbd5696c
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/31353-cz
    - object/page/31266-cz
    - object/page/31265-cz
    - object/codeunit/11729-cz
    - object/page/31165-cz
    - object/codeunit/31269-cz
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12134
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12134
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-01T09:07:04Z"
author: DavidHolusa
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 6
  additions: 68
  deletions: 3
  al: 6
apps:
  - BankingDocumentsLocalization
  - CashDeskLocalization
  - CompensationLocalization
objects_touched:
  - key: codeunit/31353
    page: codeunit/31353-cz
    type: codeunit
    id: 31353
    name: Issue Payment Order CZB
    app: BankingDocumentsLocalization
    status: modified
  - key: page/31266
    page: page/31266-cz
    type: page
    id: 31266
    name: Iss. Payment Order CZB
    app: BankingDocumentsLocalization
    status: modified
  - key: page/31265
    page: page/31265-cz
    type: page
    id: 31265
    name: Iss. Payment Orders CZB
    app: BankingDocumentsLocalization
    status: modified
  - key: codeunit/11729
    page: codeunit/11729-cz
    type: codeunit
    id: 11729
    name: Cash Document-Post CZP
    app: CashDeskLocalization
    status: modified
  - key: page/31165
    page: page/31165-cz
    type: page
    id: 31165
    name: Posted Cash Document CZP
    app: CashDeskLocalization
    status: modified
  - key: codeunit/31269
    page: codeunit/31269-cz
    type: codeunit
    id: 31269
    name: Compensation - Post CZC
    app: CompensationLocalization
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652313
systems:
  - finance
quote: null
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #12134 [main] bug 652313 - Add Approvals Management integration to compensation, payment order and cash document processing

> Approvals Management integration was added to compensation, payment order, and cash document processing in Czech localizations so approval entries are properly moved to Posted Approval Entry when documents are posted, preserving the audit trail.

[Pull request](https://github.com/microsoft/BCApps/pull/12134) · merged into `main` (BC30) on 2026-10-01 by DavidHolusa · 6 files (+68 -3), 6 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Approval entries are now moved from Approval Entry to Posted Approval Entry when compensation, cash documents, and payment orders are posted
- Explicit deletion of orphaned approval entries added for compensation and cash documents to prevent data remnants
- Approvals action added to Posted Cash Document and Iss. Payment Orders pages to display the audit trail
- Aligns Czech localization flows with W1 standard approval handling pattern
- No schema changes or permission set modifications required
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 31353 "Issue Payment Order CZB"](../../objects/codeunit/31353-cz.md), BankingDocumentsLocalization (CZ layer): modified
- [Page 31266 "Iss. Payment Order CZB"](../../objects/page/31266-cz.md), BankingDocumentsLocalization (CZ layer): modified
- [Page 31265 "Iss. Payment Orders CZB"](../../objects/page/31265-cz.md), BankingDocumentsLocalization (CZ layer): modified
- [Codeunit 11729 "Cash Document-Post CZP"](../../objects/codeunit/11729-cz.md), CashDeskLocalization (CZ layer): modified
- [Page 31165 "Posted Cash Document CZP"](../../objects/page/31165-cz.md), CashDeskLocalization (CZ layer): modified
- [Codeunit 31269 "Compensation - Post CZC"](../../objects/codeunit/31269-cz.md), CompensationLocalization (CZ layer): modified

## Context

- Work items: AB#652313
- Labels: Team: Finance
- Systems: finance

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
