---
id: change/bcapps/10944
type: change
title: "#10944 [main] bug 643971 - Enhance vendor and customer checks in advance letters and update blocked status validation"
summary: Advance letter creation now validates blocked customer and vendor status before proceeding, and customer blocked status check is narrowed to exclude Ship-only blocks which are irrelevant for invoicing.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - report create purch. adv. letter czz
  - report create sales adv. letter czz
  - tableextension customer czz
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:06:11.196Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 0d1164c24b055ad7ae2a408949e737b3539b2e68
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10944
    title: "microsoft/BCApps#10944: [main] bug 643971 - Enhance vendor and customer checks in advance letters and update blocked status validation"
    date: "2026-09-08"
    commit: 0d1164c24b055ad7ae2a408949e737b3539b2e68
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/report/31029-cz
    - object/report/31012-cz
    - object/tableextension/31045-cz
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10944
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10944
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-08T05:14:43Z"
author: DavidHolusa
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 27
  deletions: 5
  al: 3
apps:
  - AdvancePaymentsLocalization
objects_touched:
  - key: report/31029
    page: report/31029-cz
    type: report
    id: 31029
    name: Create Purch. Adv. Letter CZZ
    app: AdvancePaymentsLocalization
    status: modified
  - key: report/31012
    page: report/31012-cz
    type: report
    id: 31012
    name: Create Sales Adv. Letter CZZ
    app: AdvancePaymentsLocalization
    status: modified
  - key: tableextension/31045
    page: tableextension/31045-cz
    type: tableextension
    id: 31045
    name: Customer CZZ
    app: AdvancePaymentsLocalization
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 10948
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/10948
fixes_issues: []
work_items:
  - 643971
systems:
  - finance
quote: null
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #10944 [main] bug 643971 - Enhance vendor and customer checks in advance letters and update blocked status validation

> Advance letter creation now validates blocked customer and vendor status before proceeding, and customer blocked status check is narrowed to exclude Ship-only blocks which are irrelevant for invoicing.

[Pull request](https://github.com/microsoft/BCApps/pull/10944) · merged into `main` (BC30) on 2026-09-08 by DavidHolusa · 4 files (+27 -5), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Upfront blocked-customer/vendor validation added in Create Sales and Purchase Advance Letter reports
- Blocked status check narrowed from all non-blank states to only All and Invoice blocks
- Customers blocked for shipping only can now have advance letters created
- Blocked status caught earlier in the workflow
- Tests updated to validate new blocking behavior
- Behaviour changes for users or extensions.

## AL objects touched

- [Report 31029 "Create Purch. Adv. Letter CZZ"](../../objects/report/31029-cz.md), AdvancePaymentsLocalization (CZ layer): modified
- [Report 31012 "Create Sales Adv. Letter CZZ"](../../objects/report/31012-cz.md), AdvancePaymentsLocalization (CZ layer): modified
- [Table extension 31045 "Customer CZZ"](../../objects/tableextension/31045-cz.md), AdvancePaymentsLocalization (CZ layer): modified

## Also merged into

- [#10948](https://github.com/microsoft/BCApps/pull/10948) into `releases/29.x` on 2026-09-04

## Context

- Work items: AB#643971
- 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).
