---
id: change/bcapps/11798
type: change
title: "#11798 [main] Bug 650733 External Doc No. now mandatory on Service Invoice"
summary: Fixes a bug where posting a service invoice wrongly required an External Document No. The check in Serv-Posting Journals Mgt. is adjusted in the W1, NA and ES layers, and the service invoice posting tests are extended.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit serv-posting journals mgt.
system: service
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:54.745Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: e6ac1d25279a6bc3e4feecf62c34664e78b3f2cd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11798
    title: "microsoft/BCApps#11798: [main] Bug 650733 External Doc No. now mandatory on Service Invoice"
    date: "2026-09-25"
    commit: e6ac1d25279a6bc3e4feecf62c34664e78b3f2cd
    t: null
    quote: External Doc No. now mandatory on Service Invoice
links:
  learn: []
  objects:
    - object/codeunit/5987
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11798
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11798
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-25T11:57:15Z"
author: MSNehaNawal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 5
  additions: 109
  deletions: 54
  al: 3
apps:
  - Base Application
objects_touched:
  - key: codeunit/5987
    page: codeunit/5987
    type: codeunit
    id: 5987
    name: Serv-Posting Journals Mgt.
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/ES/BaseApp/Service/Posting/ServPostingJournalsMgt.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports:
  - number: 11966
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/11966
fixes_issues: []
work_items:
  - 650733
systems:
  - service
quote: External Doc No. now mandatory on Service Invoice
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #11798 [main] Bug 650733 External Doc No. now mandatory on Service Invoice

> Fixes a bug where posting a service invoice wrongly required an External Document No. The check in Serv-Posting Journals Mgt. is adjusted in the W1, NA and ES layers, and the service invoice posting tests are extended.

[Pull request](https://github.com/microsoft/BCApps/pull/11798) · merged into `main` (BC30) on 2026-09-25 by MSNehaNawal · 5 files (+109 -54), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Addresses the bug where External Doc. No. had become mandatory on service invoices
- Serv-Posting Journals Mgt. changed in the W1, NA and ES layers
- Service invoice posting tests extended in W1 and NA
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 5987 "Serv-Posting Journals Mgt."](../../objects/codeunit/5987.md), Base Application: modified
- `src/Layers/ES/BaseApp/Service/Posting/ServPostingJournalsMgt.Codeunit.al`: modified, not in the BC30 snapshot

## Also merged into

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

## Context

- Work items: AB#650733
- Labels: Team: SCM
- Systems: service
- From the description: "External Doc No. now mandatory on Service Invoice"

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).
