---
id: change/bcapps/13211
type: change
title: "#13211 Copy time sheet skips deleted work types and absence reasons"
summary: Time sheet copying now handles deleted work types and absence reasons gracefully by leaving them blank instead of failing, with a notification alerting users to review affected lines before submission.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - permissionset time sheets - edit
  - page timesheet line details factbox
  - codeunit time sheet management
system: projects
review:
  state: reviewed
  by: opus
  at: "2026-10-30T01:10:03.332Z"
  flags: []
generated:
  at: "2026-10-31T00:15:35.028Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 0a4207a440f51942856f0771988b287e632bf78e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13211
    title: "microsoft/BCApps#13211: Copy time sheet skips deleted work types and absence reasons"
    date: "2026-10-29"
    commit: 0a4207a440f51942856f0771988b287e632bf78e
    t: null
    quote: a work type or cause of absence that no longer exists is left blank
links:
  learn: []
  objects:
    - object/permissionset/4450
    - object/page/948
    - object/codeunit/950
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/projects-how-use-time-sheets
      title: Use time sheets
      label: possibly related
      why: Documents time sheet functionality including work types and absence reasons affected by this fix.
      by: model
number: 13211
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13211
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-29T16:56:45Z"
author: VolodySyn
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 323
  deletions: 23
  al: 3
apps:
  - Base Application
objects_touched:
  - key: permissionset/4450
    page: permissionset/4450
    type: permissionset
    id: 4450
    name: Time Sheets - Edit
    app: Base Application
    status: modified
  - key: page/948
    page: page/948
    type: page
    id: 948
    name: TimeSheet Line Details FactBox
    app: Base Application
    status: modified
  - key: codeunit/950
    page: codeunit/950
    type: codeunit
    id: 950
    name: Time Sheet Management
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 13245
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/13245
fixes_issues: []
work_items:
  - 650730
systems:
  - projects
  - administration
quote: a work type or cause of absence that no longer exists is left blank
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13211 Copy time sheet skips deleted work types and absence reasons

> Time sheet copying now handles deleted work types and absence reasons gracefully by leaving them blank instead of failing, with a notification alerting users to review affected lines before submission.

[Pull request](https://github.com/microsoft/BCApps/pull/13211) · merged into `main` (BC30) on 2026-10-29 by VolodySyn · 4 files (+323 -23), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Copy time sheet operations no longer error when work types or absence reasons have been deleted
- Deleted references are left blank on copied lines, requiring users to select valid ones before submitting absence lines
- Time Sheet Details FactBox hides description when the work type or absence reason no longer exists instead of raising an error
- Users receive a single notification after copying showing how many lines have blank work types or absence reasons requiring review
- All other line data (type, description, chargeable status, time details, comments) copies normally
- Behaviour changes for users or extensions.

## AL objects touched

- [Permission set 4450 "Time Sheets - Edit"](../../objects/permissionset/4450.md), Base Application: modified
- [Page 948 "TimeSheet Line Details FactBox"](../../objects/page/948.md), Base Application: modified
- [Codeunit 950 "Time Sheet Management"](../../objects/codeunit/950.md), Base Application: modified

## Also merged into

- [#13245](https://github.com/microsoft/BCApps/pull/13245) into `releases/29.x` on 2026-10-28

## Context

- Work items: AB#650730
- Labels: Team: SCM
- Systems: projects, administration
- From the description: "a work type or cause of absence that no longer exists is left blank"

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Use time sheets](https://learn.microsoft.com/dynamics365/business-central/projects-how-use-time-sheets) — possibly related: Documents time sheet functionality including work types and absence reasons affected by this fix. (model-linked)

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