---
id: change/bcapps/9280
type: change
title: "#9280 Project Task Billing Method reverts to original value in project card without validation or error"
summary: Project Task Billing Method field now persists correctly when changed from One Customer to Multiple Customers, fixing a race condition that previously caused the value to revert without error.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table job
system: projects
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:56.512Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 00b1a1d30dacab85a1c376c250c5815ed2f0917e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9280
    title: "microsoft/BCApps#9280: Project Task Billing Method reverts to original value in project card without validation or error"
    date: "2026-07-14"
    commit: 00b1a1d30dacab85a1c376c250c5815ed2f0917e
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/167
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9280
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9280
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-14T09:27:54Z"
author: tomasevicst
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 88
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: table/167
    page: table/167
    type: table
    id: 167
    name: Job
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 639677
systems:
  - projects
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9280 Project Task Billing Method reverts to original value in project card without validation or error

> Project Task Billing Method field now persists correctly when changed from One Customer to Multiple Customers, fixing a race condition that previously caused the value to revert without error.

[Pull request](https://github.com/microsoft/BCApps/pull/9280) · merged into `main` (BC30) on 2026-07-14 by tomasevicst · 2 files (+88 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- A Modify() call in the OnValidate trigger ensures the updated billing method value is persisted to the database before the platform refreshes the page
- The fix guards against unnecessary modifications by checking if the value actually changed using xRec comparison
- Three test cases validate the core fix, the early-exit path when no tasks exist, and prevention of redundant Modify() calls
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 167 "Job"](../../objects/table/167.md), Base Application: modified

## Context

- Work items: AB#639677
- Labels: Team: SCM
- Systems: projects

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