---
id: change/bcapps/9344
type: change
title: "#9344 [master]- Posting service order without External document no. will copy the 'Service Order No.' to GL entries"
summary: Posting a service order without an External Document No. no longer copies the Service Order No. into the G/L entries. The fix is in Serv-Documents Mgt. in the W1, NA, ES and IT layers.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit serv-documents mgt.
system: service
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:34.140Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 32386050f4eed63b11cc9136109734b1a1c216bd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9344
    title: "microsoft/BCApps#9344: [master]- Posting service order without External document no. will copy the 'Service Order No.' to GL entries"
    date: "2026-07-16"
    commit: 32386050f4eed63b11cc9136109734b1a1c216bd
    t: null
    quote: Posting service order without External document no. will copy the 'Service Order No.' to GL entries
links:
  learn: []
  objects:
    - object/codeunit/5988
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9344
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9344
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-16T11:59:17Z"
author: MSNehaNawal
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 6
  additions: 194
  deletions: 14
  al: 4
apps:
  - Base Application
objects_touched:
  - key: codeunit/5988
    page: codeunit/5988
    type: codeunit
    id: 5988
    name: Serv-Documents Mgt.
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/ES/BaseApp/Service/Posting/ServDocumentsMgt.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 638670
systems:
  - service
quote: Posting service order without External document no. will copy the 'Service Order No.' to GL entries
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #9344 [master]- Posting service order without External document no. will copy the 'Service Order No.' to GL entries

> Posting a service order without an External Document No. no longer copies the Service Order No. into the G/L entries. The fix is in Serv-Documents Mgt. in the W1, NA, ES and IT layers.

[Pull request](https://github.com/microsoft/BCApps/pull/9344) · merged into `main` (BC30) on 2026-07-16 by MSNehaNawal (community contribution) · 6 files (+194 -14), 4 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixes the Service Order No. being copied into G/L entries when no External Document No. is set
- Serv-Documents Mgt. (codeunit 5988) changed in the W1, NA, ES and IT layers
- Service posting invoice tests added in W1 and NA
- Behaviour changes for users or extensions.

## AL objects touched

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

## Context

- Work items: AB#638670
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: service
- From the description: "Posting service order without External document no. will copy the 'Service Order No.' to GL entries"

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